@@ -1672,6 +1672,7 @@ func (this *ActivityController) ActivityListSearch() {
item.City = v.City
item.IsSignup = v.IsSignup
item.SignupType = v.SignupType
+ item.ActivityTypeId = v.ActivityTypeId
item.IsCancelMeetingReminder = v.IsCancelMeetingReminder
item.IsAppointment = v.IsAppointment
item.ActiveState = v.ActiveState
@@ -61,6 +61,7 @@ type CygxResourceDataResp struct {
AudioLink bool `description:"是否展示回放按钮"`
FileType int `description:"类型: 1-音频; 2-视频"`
SignupType int `description:"报名方式,1预约外呼,2自主拨入,3我要报名"`
+ ActivityTypeId int `description:"活动类型id"`
}
type HomeResourceDataListResp struct {
@@ -581,8 +581,6 @@ func GetActivitySpecialSearcheList(user *models.WxUserItem, condition string, st
err = errors.New("GetActivityonditionList, Err: " + e.Error())
return
- //return
- fmt.Println("totalIk", totalIk)
total = totalSearche + totalIk
keyWordArr, e := GetIndustryMapNameSliceV3(keywords)
if e != nil {
@@ -179,6 +179,7 @@ func GetResourceDataList(condition string, pars []interface{}, startSize, pageSi
mapItems[fmt.Sprint("activity", v.ActivityId)].YidongActivityUrl = v.YidongActivityUrl
mapItems[fmt.Sprint("activity", v.ActivityId)].ImgUrl = imgUrlResp
mapItems[fmt.Sprint("activity", v.ActivityId)].SignupType = v.SignupType
+ mapItems[fmt.Sprint("activity", v.ActivityId)].ActivityTypeId = v.ActivityTypeId