瀏覽代碼

no message

xingzai 3 年之前
父節點
當前提交
d1946597bc
共有 1 個文件被更改,包括 2 次插入6 次删除
  1. 2 6
      controllers/activity.go

+ 2 - 6
controllers/activity.go

@@ -769,11 +769,9 @@ func (this *ActivityCoAntroller) SignupAdd() {
 			if permissionStr == "专家" {
 				resp.PopupMsg = "您暂无权限参加【" + activityInfo.ActivityTypeName + "】类型活动,若想参加请联系对口销售--" + companyItem.SellerName + ":" + companyItem.Mobile
 				resp.MsgType = "Type"
-			} else if strings.Contains(permissionStr, activityInfo.ChartPermissionName) {
+			} else {
 				resp.PopupMsg = "您暂无权限参加【" + activityInfo.ChartPermissionName + "】行业活动,若想参加请联系对口销售--" + companyItem.SellerName + ":" + companyItem.Mobile
 				resp.MsgType = "Industry"
-			} else {
-				resp.PopupMsg = "您暂无权限参加该活动"
 			}
 		}
 	} else { //潜在客户
@@ -1190,11 +1188,9 @@ func (this *ActivityCoAntroller) MeetingReminderAdd() {
 			if permissionStr == "专家" {
 				resp.PopupMsg = "您暂无权限参加【" + activityInfo.ActivityTypeName + "】类型活动,若想参加请联系对口销售--" + companyItem.SellerName + ":" + companyItem.Mobile
 				resp.MsgType = "Type"
-			} else if strings.Contains(permissionStr, activityInfo.ChartPermissionName) {
+			} else {
 				resp.PopupMsg = "您暂无权限参加【" + activityInfo.ChartPermissionName + "】行业活动,若想参加请联系对口销售--" + companyItem.SellerName + ":" + companyItem.Mobile
 				resp.MsgType = "Industry"
-			} else {
-				resp.PopupMsg = "您暂无权限参加该活动"
 			}
 		}
 	} else { //潜在客户