|
@@ -60,7 +60,7 @@ func (l *GetSubListLogic) GetSubList(in *bxsubscribe.SubscribeInfosReq) (*bxsubs
|
|
|
}
|
|
|
//主体处理(fType:普通用户;vType:超级订阅用户;mType:大会员用户;eType:商机管理用户)
|
|
|
if in.UserType == "vType" || in.UserType == "mType" {
|
|
|
- infoCount := IC.MainMysql.CountBySql("select count(id) from entniche_wait_empower where ent_id=? and end_time>NOW() and (product_type like '%超级订阅%' or product_type like '大会员') ", in.EntId)
|
|
|
+ infoCount := IC.MainMysql.CountBySql("select count(id) from entniche_wait_empower where ent_id=? and end_time>NOW() and (product_type like '%超级订阅%' or product_type like '%大会员%') ", in.EntId)
|
|
|
if infoCount > 0 {
|
|
|
in.UserType = "eType"
|
|
|
//主体等于企业的
|