Browse Source

wip:调整

fuwencai 1 year ago
parent
commit
7c638e4c3f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      service/activityService.go

+ 1 - 0
service/activityService.go

@@ -1064,6 +1064,7 @@ func existStr(subStr, str, sep string) bool {
 
 // 获取用户身份所属后台群组
 func findAttributesMap(userId string) (attributesMap map[string]bool) {
+	attributesMap = map[string]bool{}
 	rs := C.Compatible.Select(userId, `{"i_vip_status":1,"i_member_status":1}`)
 	if rs != nil && len(*rs) > 0 {
 		vipStatus := (*rs)["i_vip_status"]