|
@@ -914,6 +914,10 @@ func (this *ActivityController) SignupAdd() {
|
|
|
}
|
|
|
models.BindUserOutboundMobileByMobile(user.Mobile, countryCode, uid)
|
|
|
}
|
|
|
+ // 判断是否属于研选类型的活动
|
|
|
+ if strings.Contains(activityInfo.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
|
|
|
+ resp.IsResearch = true
|
|
|
+ }
|
|
|
resp.SignupType = signupType
|
|
|
resp.SignupStatus = signupStatus
|
|
|
//resp.HasPermission = hasPermission
|
|
@@ -1124,7 +1128,10 @@ func (this *ActivityController) MeetingReminderAdd() {
|
|
|
resp.SellerName = sellerName
|
|
|
resp.SellerMobile = sellerMobile
|
|
|
}
|
|
|
-
|
|
|
+ // 判断是否属于研选类型的活动
|
|
|
+ if strings.Contains(activityInfo.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
|
|
|
+ resp.IsResearch = true
|
|
|
+ }
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "操作成功"
|
|
@@ -1309,7 +1316,10 @@ func (this *ActivityController) ActivityAppointmentAdd() {
|
|
|
resp.SellerName = sellerName
|
|
|
resp.SellerMobile = sellerMobile
|
|
|
}
|
|
|
-
|
|
|
+ // 判断是否属于研选类型的活动
|
|
|
+ if strings.Contains(activityInfo.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
|
|
|
+ resp.IsResearch = true
|
|
|
+ }
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "操作成功"
|
|
@@ -1559,6 +1569,10 @@ func (this *ActivityController) AskAdd() {
|
|
|
resp.SellerName = sellerName
|
|
|
resp.SellerMobile = sellerMobile
|
|
|
}
|
|
|
+ // 判断是否属于研选类型的活动
|
|
|
+ if strings.Contains(activityInfo.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
|
|
|
+ resp.IsResearch = true
|
|
|
+ }
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Data = resp
|
|
@@ -1701,6 +1715,10 @@ func (this *ActivityController) ActivityListSearch() {
|
|
|
item.IsYidongConduct = v.IsYidongConduct
|
|
|
item.IsCanOutboundCall = v.IsCanOutboundCall
|
|
|
item.IsLimitPeople = v.IsLimitPeople
|
|
|
+ // 判断是否属于研选类型的活动
|
|
|
+ if strings.Contains(v.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
|
|
|
+ item.IsResearch = true
|
|
|
+ }
|
|
|
if v.VoiceList != nil || v.VideoDetail != nil {
|
|
|
item.AudioLink = true
|
|
|
if v.FileType == 1 {
|
|
@@ -1912,6 +1930,9 @@ func (this *ActivityController) ScheduleList() {
|
|
|
if isShow && strings.Contains(v.ChartPermissionName, "研选") {
|
|
|
list[k].IsShowSustainable = true
|
|
|
}
|
|
|
+ if strings.Contains(v.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
|
|
|
+ list[k].IsResearch = true
|
|
|
+ }
|
|
|
if strings.Contains(v.ChartPermissionName, "研选") && v.ActivityTypeId == 1 {
|
|
|
list[k].ActivityTypeName = "买方研选电话会"
|
|
|
//list[k].ImgUrlText = "https://hongze.oss-cn-shanghai.aliyuncs.com/static/images/202112/20211221/bIdfv8t86xrFRpDOeGGHXOmKEuKl.png"
|