...
|
...
|
@@ -351,12 +351,12 @@ func (ptr *CooperationStatisticsService) GetContractDividends(queryOptions map[s |
|
|
"userId": a.DividendsUser.UserId,
|
|
|
},
|
|
|
"dividendsParticipateType": a.DividendsParticipateType,
|
|
|
"dividendsAccountStatus": a.PaymentStatus,
|
|
|
"dividendsAccountStatus": a.DividendsAccountStatus,
|
|
|
"dividendsEstimateTime": a.CreatedAt.Unix() * 1000,
|
|
|
"orderOrReturnedOrderNum": a.DividendsEstimateOrderNumber,
|
|
|
}
|
|
|
if a.PaymentStatus == 0 {
|
|
|
item["dividendsAccountStatus"] = 1
|
|
|
if a.PaymentStatus == 2 {
|
|
|
item["dividendsAccountStatus"] = 3
|
|
|
}
|
|
|
if v, ok := mapOrderGoods[a.OrderGoodId]; ok {
|
|
|
item["orderGoodName"] = v.OrderGoodName
|
...
|
...
|
|