|
@@ -446,7 +446,7 @@ func (this *ActivityCoAntroller) Detail() {
|
|
|
hasPermission = 1
|
|
|
resp.HaqveJurisdiction = true
|
|
|
} else {
|
|
|
- if permissionStr == "专家" {
|
|
|
+ if permissionStr == "专家" || activityInfo.ActivityTypeId == 1 || activityInfo.ActivityTypeId == 3 {
|
|
|
resp.PopupMsg = "您暂无权限参加【" + activityInfo.ActivityTypeName + "】类型活动"
|
|
|
resp.MsgType = "Type"
|
|
|
} else {
|
|
@@ -792,7 +792,7 @@ func (this *ActivityCoAntroller) SignupAdd() {
|
|
|
resp.SellerName = companyItem.SellerName
|
|
|
resp.MsgType = "Type"
|
|
|
resp.OperationMode = "Call"
|
|
|
- if permissionStr == "专家" {
|
|
|
+ if permissionStr == "专家" || activityInfo.ActivityTypeId == 1 || activityInfo.ActivityTypeId == 3 {
|
|
|
resp.PopupMsg = "您暂无权限参加【" + activityInfo.ActivityTypeName + "】类型活动,若想参加请联系对口销售--" + companyItem.SellerName + ":" + companyItem.Mobile
|
|
|
resp.MsgType = "Type"
|
|
|
} else if strings.Contains(permissionStr, activityInfo.ChartPermissionName) {
|
|
@@ -1225,7 +1225,7 @@ func (this *ActivityCoAntroller) MeetingReminderAdd() {
|
|
|
resp.SellerName = companyItem.SellerName
|
|
|
resp.MsgType = "Type"
|
|
|
resp.OperationMode = "Call"
|
|
|
- if permissionStr == "专家" {
|
|
|
+ if permissionStr == "专家" || activityInfo.ActivityTypeId == 1 || activityInfo.ActivityTypeId == 3 {
|
|
|
resp.PopupMsg = "您暂无权限参加【" + activityInfo.ActivityTypeName + "】类型活动,若想参加请联系对口销售--" + companyItem.SellerName + ":" + companyItem.Mobile
|
|
|
resp.MsgType = "Type"
|
|
|
} else if strings.Contains(permissionStr, activityInfo.ChartPermissionName) {
|