Ver Fonte

formula: 兼容前端

Yi há 1 ano atrás
pai
commit
d0fb53e6a9
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      model/formula_estimate.go

+ 2 - 2
model/formula_estimate.go

@@ -32,8 +32,8 @@ type PastureCommonResponse struct {
 }
 
 type PastureCommonData struct {
-	List     interface{} `json:"list,omitempty"`
-	Data     interface{} `json:"data,omitempty"`
+	List     interface{} `json:"list"`
+	Data     interface{} `json:"data"`
 	PageSize int32       `json:"pageSize"`
 	Total    int32       `json:"total"`
 	PageNum  int32       `json:"pageNum"`