作者 tangxuhui

数据结构调整

... ... @@ -55,12 +55,14 @@ func (dividendsEstimateService *DividendsEstimateService) EstimateMoneyIncentive
item := map[string]interface{}{
"userId": result[i].DividendsUser.UserId,
"userName": result[i].DividendsUser.UserName,
"DividendsAmount": result[i].DividendsAmount,
"dividendsAmount": result[i].DividendsAmount,
}
data = append(data, item)
}
return data, nil
returnData := map[string]interface{}{
"list": data,
}
return returnData, nil
}
// 查询分红预算单列表
... ...