xingzai hai 1 ano
pai
achega
6fa98f5532
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      controllers/user.go
  2. 1 0
      models/apply_record.go

+ 1 - 0
controllers/user.go

@@ -585,6 +585,7 @@ func (this *UserController) ApplyTryOut() {
 		//如果是潜在客户就标记来源
 		item.InviteCompanySource = 2
 	}
+	item.Title = title
 	item.SourceId = sourceId
 	item.Source = strings.ToLower(source)
 	item.RegisterPlatform = utils.REGISTER_PLATFORM

+ 1 - 0
models/apply_record.go

@@ -21,6 +21,7 @@ type CygxApplyRecord struct {
 	InviteCompanySource int       `description:"来源 1小程序,2:网页"`
 	SourceId            int       `description:"资源ID"`
 	Source              string    `description:"资源类型 报告 :article 、图表 :newchart、微路演 :roadshow、活动 :activity、活动视频:activityvideo、活动音频:activityvoice、专项调研活动:activityspecial"`
+	Title               string    `description:"标题"`
 }
 
 func AddApplyRecord(item *CygxApplyRecord) (err error) {