|
@@ -129,6 +129,7 @@ type ActivityDetail struct {
|
|
TemporaryLabel string `description:"临时标签"`
|
|
TemporaryLabel string `description:"临时标签"`
|
|
IsCanAppointmentMinutes int `description:"是否可预约纪要 1是 ,0 否 默认0 "`
|
|
IsCanAppointmentMinutes int `description:"是否可预约纪要 1是 ,0 否 默认0 "`
|
|
YidongActivityId string `description:"易董活动ID"`
|
|
YidongActivityId string `description:"易董活动ID"`
|
|
|
|
+ IsYidongActivity bool `description:"是否属于易董同步过来的活动"`
|
|
YidongActivityUrl string `description:"易董活动跳转地址"`
|
|
YidongActivityUrl string `description:"易董活动跳转地址"`
|
|
AudioLink bool `description:"是否展示回放按钮"`
|
|
AudioLink bool `description:"是否展示回放按钮"`
|
|
VoiceList *CygxActivityVoiceReq `description:"音频数据"`
|
|
VoiceList *CygxActivityVoiceReq `description:"音频数据"`
|
|
@@ -230,6 +231,7 @@ type ActivityListResp struct {
|
|
IsResearchPoints bool `description:"是否为研选扣点"`
|
|
IsResearchPoints bool `description:"是否为研选扣点"`
|
|
SiginupDeadline string `description:"报名截止时间"`
|
|
SiginupDeadline string `description:"报名截止时间"`
|
|
CancelDeadline string `description:"取消报名截止时间"`
|
|
CancelDeadline string `description:"取消报名截止时间"`
|
|
|
|
+ IsYidongActivity bool `description:"是否属于易董同步过来的活动"`
|
|
}
|
|
}
|
|
|
|
|
|
type ActivityCheck struct {
|
|
type ActivityCheck struct {
|
|
@@ -265,6 +267,16 @@ type CygxActivityResp struct {
|
|
Detail *ActivityListResp
|
|
Detail *ActivityListResp
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+type CygxYidongActivityUrlResp struct {
|
|
|
|
+ HasPermission int `description:"1:有该行业权限,正常展示,2:无该行业权限,不存在权益客户下(ficc),3:无该品类权限,已提交过申请,4:无该品类权限,未提交过申请,5:潜在客户,未提交过申请,6:潜在客户,已提交过申请"`
|
|
|
|
+ PopupMsg string `description:"权限弹窗信息"`
|
|
|
|
+ SellerMobile string `description:"销售电话"`
|
|
|
|
+ SellerName string `description:"销售姓名"`
|
|
|
|
+ IsResearch bool `description:"是否属于研选"`
|
|
|
|
+ IsResearchSpecial bool `description:"是否属于特殊的研选"`
|
|
|
|
+ YidongActivityUrl string `description:"易董活动跳转地址"`
|
|
|
|
+}
|
|
|
|
+
|
|
// 列表
|
|
// 列表
|
|
func GetCygxActivityList(condition string, pars []interface{}, sortTime string, startSize, pageSize int) (items []*CygxActivity, err error) {
|
|
func GetCygxActivityList(condition string, pars []interface{}, sortTime string, startSize, pageSize int) (items []*CygxActivity, err error) {
|
|
o := orm.NewOrm()
|
|
o := orm.NewOrm()
|