正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -177,7 +177,7 @@ func (srv CompanyCreditAccountService) PaymentHistoryStatistics(cmd *command.Cre | @@ -177,7 +177,7 @@ func (srv CompanyCreditAccountService) PaymentHistoryStatistics(cmd *command.Cre | ||
177 | cmd.Operator) | 177 | cmd.Operator) |
178 | 178 | ||
179 | var response = struct { | 179 | var response = struct { |
180 | - rankItems interface{} `json:"rankItems"` | 180 | + RankItems interface{} `json:"rankItems"` |
181 | TotalPaymentAmount interface{} `json:"totalPaymentAmount"` | 181 | TotalPaymentAmount interface{} `json:"totalPaymentAmount"` |
182 | }{} | 182 | }{} |
183 | cooperationContractNumbers, err := gateway.RelevantCooperationContractNumbers(allied_creation_cooperation.RelevantCooperationContractNumbers, map[string]interface{}{ | 183 | cooperationContractNumbers, err := gateway.RelevantCooperationContractNumbers(allied_creation_cooperation.RelevantCooperationContractNumbers, map[string]interface{}{ |
@@ -215,7 +215,7 @@ func (srv CompanyCreditAccountService) PaymentHistoryStatistics(cmd *command.Cre | @@ -215,7 +215,7 @@ func (srv CompanyCreditAccountService) PaymentHistoryStatistics(cmd *command.Cre | ||
215 | if err != nil { | 215 | if err != nil { |
216 | return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) | 216 | return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) |
217 | } | 217 | } |
218 | - response.rankItems = cooperationUsersStatistics | 218 | + response.RankItems = cooperationUsersStatistics |
219 | response.TotalPaymentAmount = creditAccountStatistics.Paid | 219 | response.TotalPaymentAmount = creditAccountStatistics.Paid |
220 | 220 | ||
221 | return response, nil | 221 | return response, nil |
-
请 注册 或 登录 后发表评论