Browse Source

formula: 兼容前端

Yi 1 năm trước cách đây
mục cha
commit
d0fb53e6a9
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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"`