zhou.xiaoning 2 anos atrás
pai
commit
bf0abe6761
1 arquivos alterados com 1 adições e 1 exclusões
  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) {