Эх сурвалжийг харах

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

Yi 1 жил өмнө
parent
commit
c51ae89acb

+ 1 - 1
model/formula_estimate.go

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