|
@@ -503,6 +503,9 @@ func GetActivityDetailUserPower(user *models.WxUserItem, activityInfo *models.Ac
|
|
|
// havePower = true
|
|
|
//}
|
|
|
fmt.Println("主客观3", havePower)
|
|
|
+ if !strings.Contains(activityInfo.CustomerTypeIds, userTypeStr) && userTypeStr != "8" {
|
|
|
+ havePower = false
|
|
|
+ }
|
|
|
if havePower && activityInfo.LimitPeopleNum > 0 {
|
|
|
//对于一些特殊的活动,即使权限满足也不给产看
|
|
|
noPower, e := GetShareNoPowe(activityInfo, permissionStr, userType, user)
|