|
@@ -1508,7 +1508,7 @@ func (s *subscribePush) Keys(spqp *KeyParam) (result []*bxsubscribe.KeyItems) {
|
|
|
}
|
|
|
if (spqp.VipPower == 1 || spqp.MemberPower == 1) || (spqp.UserPower == 1 && spqp.PowerSource == 0) {
|
|
|
//1、mysql entniche_user_rule表中获取自己的分发规则id
|
|
|
- data := IC.MainMysql.SelectBySql(`select rule_id from entniche_user_rule where user_id =? and dept_id =?`, spqp.EntUserId, spqp.DeptId)
|
|
|
+ data := IC.MainMysql.SelectBySql(`select rule_id from entniche_user_rule where user_id =? `, spqp.EntUserId)
|
|
|
if data == nil || len(*data) == 0 {
|
|
|
return MapToarr(keyData, s.ModuleFlag)
|
|
|
}
|