Explorar o código

中金所名称修改

zwxi hai 1 ano
pai
achega
a7acd2104e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      services/commodity_trade_cffex.go

+ 1 - 0
services/commodity_trade_cffex.go

@@ -116,6 +116,7 @@ func SyncRankingFromCffex() {
 		var indexKey string
 		for _, xmlItem := range xmlItems {
 			for _, i := range xmlItem.Data {
+				i.ShortName = strings.Replace(i.ShortName,"(经济)","",-1)
 				var item = new(models.BaseFromTradeCffexIndex)
 				item.DealValue = -1
 				item.BuyValue = -1