Browse Source

去除收藏表的title字段

ziwen 2 years ago
parent
commit
5bcc3aad32
3 changed files with 0 additions and 3 deletions
  1. 0 1
      controllers/micro_roadshow.go
  2. 0 1
      models/article_collect.go
  3. 0 1
      models/micro_roadshow.go

+ 0 - 1
controllers/micro_roadshow.go

@@ -413,7 +413,6 @@ func (this *MicroRoadShowController) Collect() {
 			item.CompanyId = user.CompanyId
 			item.CompanyName = user.CompanyName
 			item.RealName = user.RealName
-			item.Title = req.Title
 			_, err = models.AddCygxArticleCollect(item)
 			if err != nil {
 				br.Msg = "收藏失败"

+ 0 - 1
models/article_collect.go

@@ -18,7 +18,6 @@ type CygxArticleCollect struct {
 	CompanyId       int    `description:"公司id"`
 	CompanyName     string `description:"公司名称"`
 	RealName        string `description:"用户实际名称"`
-	Title           string `description:"标题"`
 }
 
 //添加收藏信息

+ 0 - 1
models/micro_roadshow.go

@@ -315,5 +315,4 @@ type AddVideoCommnetReq struct {
 type MicroRoadshowCollectReq struct {
 	Id         int    `description:"音频或视频ID"`
 	SourceType int    `description:"视频来源: 1-音频; 2-视频 (不传默认为1)"`
-	Title      string `description:"标题"`
 }