正在显示
1 个修改的文件
包含
5 行增加
和
3 行删除
@@ -55,12 +55,14 @@ func (dividendsEstimateService *DividendsEstimateService) EstimateMoneyIncentive | @@ -55,12 +55,14 @@ func (dividendsEstimateService *DividendsEstimateService) EstimateMoneyIncentive | ||
55 | item := map[string]interface{}{ | 55 | item := map[string]interface{}{ |
56 | "userId": result[i].DividendsUser.UserId, | 56 | "userId": result[i].DividendsUser.UserId, |
57 | "userName": result[i].DividendsUser.UserName, | 57 | "userName": result[i].DividendsUser.UserName, |
58 | - "DividendsAmount": result[i].DividendsAmount, | 58 | + "dividendsAmount": result[i].DividendsAmount, |
59 | } | 59 | } |
60 | data = append(data, item) | 60 | data = append(data, item) |
61 | } | 61 | } |
62 | - | ||
63 | - return data, nil | 62 | + returnData := map[string]interface{}{ |
63 | + "list": data, | ||
64 | + } | ||
65 | + return returnData, nil | ||
64 | } | 66 | } |
65 | 67 | ||
66 | // 查询分红预算单列表 | 68 | // 查询分红预算单列表 |
-
请 注册 或 登录 后发表评论