zhou.xiaoning пре 2 година
родитељ
комит
bf0abe6761
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      models/market.go

+ 1 - 1
models/market.go

@@ -507,7 +507,7 @@ func GetAvalidExchangeId(userId int64) []int64 {
 
 type GetMarketSectionsRsp struct {
 	Marketsection
-	Marketsectionconfignews []Marketsectionconfignew `xorm:"-"`
+	Marketsectionconfignews []Marketsectionconfignew `json:"marketsectionconfignews" xorm:"-"`
 }
 
 func GetMarketSections() (datas []GetMarketSectionsRsp, err error) {