Browse Source

Merge branch 'cygx_13.2' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 year ago
parent
commit
e4905f28c2
1 changed files with 5 additions and 0 deletions
  1. 5 0
      services/activity.go

+ 5 - 0
services/activity.go

@@ -588,6 +588,11 @@ func GetActivityDetailUserPower(user *models.WxUserItem, activityInfo *models.Ac
 		permissionStrZhengShi += "," + utils.CHART_PERMISSION_NAME_MF_YANXUAN
 	}
 
+	//如果测试权限有开通 研选扣点包 ,那么就拼接一个 研选订阅的权限
+	if strings.Contains(permissionStr, utils.YAN_XUAN_KOU_DIAN_BAO_NAME) {
+		permissionStr += "," + utils.CHART_PERMISSION_NAME_MF_YANXUAN
+	}
+
 	//如果一个权限都没有就返回无权限
 	if permissionStr == "" {
 		return