Browse Source

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

Yi 1 year ago
parent
commit
c51ae89acb
1 changed files with 1 additions and 1 deletions
  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"