|
|
@@ -18,13 +18,14 @@ func List(c *gin.Context) { |
|
|
|
} |
|
|
|
var resp md.AdvertisingListResp |
|
|
|
noticeList := make([]md.AdvertisingList, 0) |
|
|
|
resp.SelectData = []map[string]string{ |
|
|
|
resp.AdvData = []map[string]string{ |
|
|
|
{"name": "开屏广告", "value": "1"}, |
|
|
|
{"name": "插屏广告", "value": "2"}, |
|
|
|
{"name": "激励视频", "value": "3"}, |
|
|
|
{"name": "信息流广告", "value": "4"}, |
|
|
|
{"name": "全屏视频", "value": "5"}, |
|
|
|
} |
|
|
|
resp.SelectData = md.AdvertisingPlatform |
|
|
|
NewJpushNoticeDb := implement.NewAdvertisingSpaceDb(db.Db) |
|
|
|
notice, total, _ := NewJpushNoticeDb.FindUserFeedbackCateAndTotal(req.Page, req.Limit, req.Name, req.Kind) |
|
|
|
resp.Total = total |
|
|
|