Browse Source

汾渭数据源-响应格式调整

gmy 2 months ago
parent
commit
fe23d132f1
1 changed files with 6 additions and 6 deletions
  1. 6 6
      models/base_from_fenwei.go

+ 6 - 6
models/base_from_fenwei.go

@@ -310,12 +310,12 @@ type FenWeiNetIndexInfo struct {
 	FenweiIndexId int64  `orm:"column(fenwei_index_id);pk"`
 	IndexName     string `description:"指标名称"`
 	//IndexCode    string  `description:"指标编码"`
-	Unit         string  `description:"单位"`
-	Frequency    string  `description:"频度"`
-	TerminalCode string  `description:"编码"`
-	ClassifyName string  `description:"分类名称"`
-	DataTime     string  `description:"数据时间"`
-	Value        float64 `description:"数据值"`
+	Unit         string      `description:"单位"`
+	Frequency    string      `description:"频度"`
+	TerminalCode string      `description:"编码"`
+	ClassifyName string      `description:"分类名称"`
+	DataTime     string      `description:"数据时间"`
+	Value        interface{} `description:"数据值"`
 }
 
 type HandleFenWeiNetDataReq struct {