|
@@ -149,7 +149,11 @@ func GetUserHasPermissionActivity(user *models.WxUserItem, activityInfo *models.
|
|
|
err = errors.New("GetApplyRecordCount, Err: " + e.Error())
|
|
|
return
|
|
|
}
|
|
|
- popupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
+ if strings.Contains(activityInfo.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
|
|
|
+ popupMsg = "暂无<b>买方研选</b>权限<br/>您可申请开通试用"
|
|
|
+ } else {
|
|
|
+ popupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
+ }
|
|
|
if user.CompanyId == 1 {
|
|
|
if applyCount > 0 {
|
|
|
hasPermission = 4
|