|
@@ -93,8 +93,9 @@ func (this *PowerService) Power(userid string, baseUserId, accountId, entId, pos
|
|
|
data, ok := this.Conn.MgoJy.FindById("user", userid, mgoUserFields)
|
|
|
if ok && data != nil && len(*data) > 0 {
|
|
|
//基本信息
|
|
|
- registeDate := common.Int64All((*data)["l_registedate"]) //注册时间
|
|
|
- phone, _ := common.If((*data)["s_phone"] != nil, (*data)["s_phone"], (*data)["s_m_phone"]).(string) //
|
|
|
+ registeDate := common.Int64All((*data)["l_registedate"]) //注册时间
|
|
|
+ phone, _ := common.If((*data)["s_phone"] != nil, (*data)["s_phone"], (*data)["s_m_phone"]).(string) //
|
|
|
+ ent.PrivateGD = this.Conn.Mysql.CountBySql(`select count(1) from privatedata where phone = ?`, phone) > 0 //广东移动DICT 用户
|
|
|
mail := common.ObjToString((*data)["s_myemail"])
|
|
|
i_ts_guide := common.Int64All((*data)["i_ts_guide"])
|
|
|
i_member_apppushunread := common.Int64All((*data)["i_member_apppushunread"])
|
|
@@ -344,8 +345,6 @@ func (this *PowerService) Power(userid string, baseUserId, accountId, entId, pos
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- //广东移动DICT 用户
|
|
|
- ent.PrivateGD = this.Conn.Mysql.CountBySql(`select count(1) from privatedata where phone = ?`, phone) > 0
|
|
|
}
|
|
|
if vip.Status <= 0 && member.Status <= 0 && entniche.Status <= 0 {
|
|
|
free.IsFree = true
|