ソースを参照

response: 没有数据时返回对应字段,方便前端处理一直加载问题

Yi 1 年間 前
コミット
c51ae89acb
1 ファイル変更1 行追加1 行削除
  1. 1 1
      model/formula_estimate.go

+ 1 - 1
model/formula_estimate.go

@@ -340,7 +340,7 @@ type FeedStatisticsResponse struct {
 }
 
 type FeedStatisticsData struct {
-	List map[string]interface{} `json:"list,omitempty"`
+	List map[string]interface{} `json:"list"`
 }
 
 var DefaultSheetName = "Sheet1"