|
@@ -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"]
|