作者 tangxuhui

数据结构调整

@@ -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 // 查询分红预算单列表