|
@@ -200,7 +200,7 @@ func (this *PowerService) Power(userid string, baseUserId, accountId, entId, pos
|
|
|
}
|
|
|
//企业
|
|
|
edata, _ := this.Conn.MgoJy.FindOne("entniche_rule", map[string]interface{}{
|
|
|
- "i_ent": entId,
|
|
|
+ "i_entid": entId,
|
|
|
"i_userid": entnicheUserId,
|
|
|
"i_type": 1, //0:商机管理 1:超级订阅/大会员
|
|
|
})
|
|
@@ -222,7 +222,6 @@ func (this *PowerService) Power(userid string, baseUserId, accountId, entId, pos
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
if common.Int64All((*eudata)["i_vip_status"]) > 0 {
|
|
|
oBuyset := common.ObjToMap((*o_entniche)["o_buyset"])
|
|
|
areacount := common.Int64All((*oBuyset)["areacount"])
|