...
 
Commits (1)
...@@ -162,6 +162,11 @@ func (s *GroupService) GroupIn(userId uint64, externalId string, groupUuid strin ...@@ -162,6 +162,11 @@ func (s *GroupService) GroupIn(userId uint64, externalId string, groupUuid strin
} }
// 不是超管 且 用户是否在群的黑名单中 // 不是超管 且 用户是否在群的黑名单中
if !isM && group_m.InGroupBlackList(model, groupUuid, imei, ip, userId) { if !isM && group_m.InGroupBlackList(model, groupUuid, imei, ip, userId) {
// 特殊处理的拉黑列表
blackMap := map[string]uint64{"HTGS#a17058241": 3058361}
if bUid, ok := blackMap[groupUuid]; ok && bUid == userId {
return bizerr.InBlacklist
}
if svip.SvipLevel < 6 { // svip6暂时不判断GroupBlackList if svip.SvipLevel < 6 { // svip6暂时不判断GroupBlackList
return bizerr.InBlacklist return bizerr.InBlacklist
} }
......