فهرست منبع

Merge branch 'master' of http://192.168.3.207:8080/BaseService/powerCheckCenter into master

zhangxinlei1996 2 سال پیش
والد
کامیت
c19f3248ab
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      service/power.go

+ 1 - 2
service/power.go

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