|
|
@@ -271,6 +271,7 @@ type TjmdMarketSection struct {
|
|
|
MARKETSECTIONNAME string `json:"marketsectionname" xorm:"'MARKETSECTIONNAME'"` // 市场版块名称
|
|
|
ORDERINDEX int32 `json:"orderindex" xorm:"'ORDERINDEX'"` // 排序
|
|
|
REMARK string `json:"remark" xorm:"'REMARK'"` // 备注
|
|
|
+ PICTUREURL string `json:"pictureurl" xorm:"'PICTUREURL'"` // 图片url, 规格(90*90)
|
|
|
|
|
|
MLIST []TjmdMarketSectionConfig `json:"mlist"` // 市场列表(板块下面有多少个市场)
|
|
|
}
|
|
|
@@ -289,7 +290,7 @@ func (r *TjmdMarketSection) addMarketList(lst []TjmdMarketSectionConfig) {
|
|
|
|
|
|
func (r *TjmdMarketSection) buildSql() string {
|
|
|
var sqlId utils.SQLVal = `
|
|
|
-SELECT t.MARKETSECTIONID, t.MARKETSECTIONNAME, t.ORDERINDEX, t.REMARK
|
|
|
+SELECT t.MARKETSECTIONID, t.MARKETSECTIONNAME, t.ORDERINDEX, t.REMARK, t.PICTUREURL
|
|
|
FROM MARKETSECTION t
|
|
|
WHERE t.isvalid = 1
|
|
|
order by t.orderindex
|