瀏覽代碼

汾渭-网站响应格式变更

gmy 3 月之前
父節點
當前提交
93dd09f91a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/base_from_fenwei.go

+ 1 - 1
models/base_from_fenwei.go

@@ -110,7 +110,7 @@ type FenWeiNetResponse struct {
 	DailyConsumptionChnUnit    string      `json:"daily_consumption_chn_unit"`
 	DailyConsumption           string      `json:"daily_consumption"`
 	InventoryIndexChnUnit      string      `json:"inventory_index_chn_unit"`
-	InventoryIndex             string      `json:"inventory_index"`
+	InventoryIndex             float64     `json:"inventory_index"`
 	TonsChnUnit                string      `json:"tons_chn_unit"`
 	Tons                       string      `json:"tons"`
 	TransportVolumeChnUnit     string      `json:"transport_volume_chn_unit"`