Parcourir la source

formula: 兼容前端

Yi il y a 1 an
Parent
commit
d0fb53e6a9
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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"`