浏览代码

formula: 兼容前端

Yi 1 年之前
父节点
当前提交
d0fb53e6a9
共有 1 个文件被更改,包括 2 次插入2 次删除
  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"`