소스 검색

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"`