|
@@ -591,7 +591,7 @@ func (this *ActivityCoAntroller) Detail() {
|
|
|
}
|
|
|
resp.HasPermission = hasPermission
|
|
|
resp.OperationMode = "Apply"
|
|
|
- resp.PopupMsg = "您暂无权限参加 【" + activityInfo.ChartPermissionName + "】行业活动,若想参加可以申请开通哦"
|
|
|
+ resp.PopupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|
|
@@ -670,7 +670,7 @@ func (this *ActivityCoAntroller) Detail() {
|
|
|
if err.Error() == utils.ErrNoRow() {
|
|
|
resp.HasPermission = 4
|
|
|
resp.OperationMode = "Apply"
|
|
|
- resp.PopupMsg = "您暂无权限参加 【" + activityInfo.ChartPermissionName + "】行业活动"
|
|
|
+ resp.PopupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|
|
@@ -688,17 +688,17 @@ func (this *ActivityCoAntroller) Detail() {
|
|
|
resp.HaqveJurisdiction = true
|
|
|
} else {
|
|
|
if permissionStr == "专家" {
|
|
|
- resp.PopupMsg = "您暂无权限参加【" + activityInfo.ActivityTypeName + "】类型活动"
|
|
|
+ resp.PopupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
resp.MsgType = "Type"
|
|
|
} else {
|
|
|
- if strings.Contains("医药,消费,科技,智造", activityInfo.ChartPermissionName) {
|
|
|
- if activityInfo.ActivityTypeId == 1 || activityInfo.ActivityTypeId == 3 || activityInfo.ActivityTypeId == 5 || activityInfo.ActivityTypeId == 6 {
|
|
|
- activityInfo.ChartPermissionName += "(主观)"
|
|
|
- } else {
|
|
|
- activityInfo.ChartPermissionName += "(客观)"
|
|
|
- }
|
|
|
- }
|
|
|
- resp.PopupMsg = "您暂无权限参加【" + activityInfo.ChartPermissionName + "】行业活动"
|
|
|
+ //if strings.Contains("医药,消费,科技,智造", activityInfo.ChartPermissionName) {
|
|
|
+ // if activityInfo.ActivityTypeId == 1 || activityInfo.ActivityTypeId == 3 || activityInfo.ActivityTypeId == 5 || activityInfo.ActivityTypeId == 6 {
|
|
|
+ // activityInfo.ChartPermissionName += "(主观)"
|
|
|
+ // } else {
|
|
|
+ // activityInfo.ChartPermissionName += "(客观)"
|
|
|
+ // }
|
|
|
+ //}
|
|
|
+ resp.PopupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
resp.MsgType = "Industry"
|
|
|
}
|
|
|
resp.SellerMobile = companyItem.Mobile
|
|
@@ -816,7 +816,7 @@ func (this *ActivityCoAntroller) SignupAdd() {
|
|
|
}
|
|
|
resp.HasPermission = hasPermission
|
|
|
resp.OperationMode = "Apply"
|
|
|
- resp.PopupMsg = "您暂无权限参加 【" + activityInfo.ChartPermissionName + "】行业活动,若想参加可以申请开通哦"
|
|
|
+ resp.PopupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|
|
@@ -858,7 +858,7 @@ func (this *ActivityCoAntroller) SignupAdd() {
|
|
|
if err.Error() == utils.ErrNoRow() {
|
|
|
resp.HasPermission = 4
|
|
|
resp.OperationMode = "Apply"
|
|
|
- resp.PopupMsg = "您暂无权限参加 【" + activityInfo.ChartPermissionName + "】行业活动,若想参加可以申请开通哦"
|
|
|
+ resp.PopupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|
|
@@ -1092,7 +1092,7 @@ func (this *ActivityCoAntroller) SignupAdd() {
|
|
|
hasPermission = 3
|
|
|
}
|
|
|
resp.OperationMode = "Apply"
|
|
|
- resp.PopupMsg = "您暂无权限参加 【" + activityInfo.ChartPermissionName + "】行业活动,若想参加可以申请开通哦"
|
|
|
+ resp.PopupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
}
|
|
|
if signupType == 1 && user.IsMsgOutboundMobile == 0 {
|
|
|
resp.GoOutboundMobile = true
|
|
@@ -1417,7 +1417,7 @@ func (this *ActivityCoAntroller) MeetingReminderAdd() {
|
|
|
}
|
|
|
resp.HasPermission = hasPermission
|
|
|
resp.OperationMode = "Apply"
|
|
|
- resp.PopupMsg = "您暂无权限参加 【" + activityInfo.ChartPermissionName + "】行业活动,若想参加可以申请开通哦"
|
|
|
+ resp.PopupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|
|
@@ -1462,7 +1462,7 @@ func (this *ActivityCoAntroller) MeetingReminderAdd() {
|
|
|
if err.Error() == utils.ErrNoRow() {
|
|
|
resp.HasPermission = 4
|
|
|
resp.OperationMode = "Apply"
|
|
|
- resp.PopupMsg = "您暂无权限参加 【" + activityInfo.ChartPermissionName + "】行业活动,若想参加可以申请开通哦"
|
|
|
+ resp.PopupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|
|
@@ -1529,7 +1529,7 @@ func (this *ActivityCoAntroller) MeetingReminderAdd() {
|
|
|
hasPermission = 3
|
|
|
}
|
|
|
resp.OperationMode = "Apply"
|
|
|
- resp.PopupMsg = "您暂无权限参加 【" + activityInfo.ChartPermissionName + "】行业活动,若想参加可以申请开通哦"
|
|
|
+ resp.PopupMsg = "您暂无权限参加此活动,若想参加可以申请开通对应的试用权限"
|
|
|
}
|
|
|
resp.HasPermission = hasPermission
|
|
|
resp.SignupStatus = signupStatus
|