Browse Source

主题搜索

xingzai 3 years ago
parent
commit
4df7706bdf
2 changed files with 4 additions and 0 deletions
  1. 2 0
      controllers/activity.go
  2. 2 0
      models/activity.go

+ 2 - 0
controllers/activity.go

@@ -2273,6 +2273,8 @@ func (this *ActivityCoAntroller) ActivityListNew() {
 	}
 	page := paging.GetPaging(currentIndex, pageSize, total)
 	resp := new(models.GetCygxActivityListRep)
+	resp.Label = label
+	resp.ImgUrl = "https://hongze.oss-cn-shanghai.aliyuncs.com/static/images/202111/20211104/QbTGTNhD9MxYp24cJ7V5WpCN0oNl.png"
 	resp.List = list
 	resp.Paging = page
 	br.Ret = 200

+ 2 - 0
models/activity.go

@@ -160,6 +160,8 @@ type CygxActivityList struct {
 type GetCygxActivityListRep struct {
 	Paging *paging.PagingItem `description:"分页数据"`
 	List   []*CygxActivityList
+	Label  string `description:"主题"`
+	ImgUrl string `description:"图片路径"`
 }
 
 //列表