|
@@ -277,7 +277,7 @@ func vipEntPower(ctx context.Context, entId, entUserId int64, doType, empowerCou
|
|
|
if entUserId := gconv.Int64(m["ent_user_id"]); entUserId > 0 {
|
|
|
if !EntUpdateRule(entId, gconv.Int64(m["ent_user_id"]), g.Map{
|
|
|
"$set": g.Map{
|
|
|
- "i_vip_status": common.If(st.Unix() <= time.Now().Unix(), 2, -2), //1试用 2正式 -2 试用到期
|
|
|
+ "i_vip_status": 2, //1试用 2正式 -2 试用到期
|
|
|
"l_vip_endtime": et.Unix(),
|
|
|
},
|
|
|
}) {
|