|
@@ -722,7 +722,12 @@ func GetActivityDetailUserPower(user *models.WxUserItem, activityInfo *models.Ac
|
|
|
|
|
|
//宏观满足用户可见身份验证权限既满足 2023-9-18
|
|
|
if activityInfo.ChartPermissionId == 1 {
|
|
|
- if strings.Contains(activityInfo.CustomerTypeIds, userTypeStr) {
|
|
|
+ if activityInfo.LimitPeopleNum > 0 {
|
|
|
+ if strings.Contains(activityInfo.CustomerTypeIds, userTypeStr) {
|
|
|
+ havePower = true
|
|
|
+ return
|
|
|
+ }
|
|
|
+ } else {
|
|
|
havePower = true
|
|
|
return
|
|
|
}
|