Răsfoiți Sursa

章节图标替换

xiexiaoyuan 3 ani în urmă
părinte
comite
de73e7e414

+ 1 - 0
models/tables/report_chapter_type/report_chapter_type.go

@@ -22,6 +22,7 @@ type ReportChapterType struct {
 	PauseEndTime           time.Time      `gorm:"column:pause_end_time;type:datetime" json:"pause_end_time"`                              //暂停结束日期
 	IsSet                  int            `gorm:"column:is_set;type:tinyint(4);default:0" json:"is_set"`
 	YbIconUrl              string    `gorm:"column:yb_icon_url;type:varchar(255) json:"yb_icon_url"`                                     //研报小程序3.0图标
+	YbBottomIcon              string    `gorm:"column:yb_bottom_icon;type:varchar(255) json:"yb_bottom_icon"`                                     //研报小程序3.0底部菜单图标
 }
 
 func (r *ReportChapterType) TableName() string {

+ 1 - 1
services/report/report_chapter.go

@@ -299,7 +299,7 @@ func GetMenuChapter(reportId int, typeIds []int, classifyNameFirst string, repor
 					temp.ReportChapterId = item.ReportChapterId
 					temp.ReportId = item.ReportId
 					temp.ReportChapterTypeName = typeItem.ReportChapterTypeName
-					temp.ReportChapterTypeThumb = typeItem.YbIconUrl
+					temp.ReportChapterTypeThumb = typeItem.YbBottomIcon
 					temp.Sort = typeItem.Sort
 					reportTypeList = append(reportTypeList, temp)
 				}