فهرست منبع

banner新增字段

ziwen 2 سال پیش
والد
کامیت
9dbf7e2b1f
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      controller/pc/pc.go
  2. 1 0
      models/tables/rddp/report_chapter/query.go

+ 1 - 0
controller/pc/pc.go

@@ -168,6 +168,7 @@ func ClassifyDetailBanner(c *gin.Context) {
 		resp := &pcModels.DetailBannerResp{
 			ReportId:          chapterItem.ReportId,
 			ClassifyNameFirst: chapterItem.ClassifyNameFirst,
+			ClassifyIdFirst:    chapterItem.ClassifyIdFirst,
 			Stage:             chapterItem.Stage,
 			ImgUrl:            "",
 			Type:              "报告合集",

+ 1 - 0
models/tables/rddp/report_chapter/query.go

@@ -143,6 +143,7 @@ func GetLatestChapterByClassifyName(firstName string) (items *ReportChapter, err
 	sql := `SELECT
 	report_id,
 	classify_name_first,
+	classify_id_first,
 	stage 
 FROM
 	report_chapter