Commit 907e14eb authored by chenweijian's avatar chenweijian

特殊处理拉黑

parent 465dac26
......@@ -162,6 +162,11 @@ func (s *GroupService) GroupIn(userId uint64, externalId string, groupUuid strin
}
// 不是超管 且 用户是否在群的黑名单中
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
return bizerr.InBlacklist
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment