正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -351,12 +351,12 @@ func (ptr *CooperationStatisticsService) GetContractDividends(queryOptions map[s | @@ -351,12 +351,12 @@ func (ptr *CooperationStatisticsService) GetContractDividends(queryOptions map[s | ||
351 | "userId": a.DividendsUser.UserId, | 351 | "userId": a.DividendsUser.UserId, |
352 | }, | 352 | }, |
353 | "dividendsParticipateType": a.DividendsParticipateType, | 353 | "dividendsParticipateType": a.DividendsParticipateType, |
354 | - "dividendsAccountStatus": a.PaymentStatus, | 354 | + "dividendsAccountStatus": a.DividendsAccountStatus, |
355 | "dividendsEstimateTime": a.CreatedAt.Unix() * 1000, | 355 | "dividendsEstimateTime": a.CreatedAt.Unix() * 1000, |
356 | "orderOrReturnedOrderNum": a.DividendsEstimateOrderNumber, | 356 | "orderOrReturnedOrderNum": a.DividendsEstimateOrderNumber, |
357 | } | 357 | } |
358 | - if a.PaymentStatus == 0 { | ||
359 | - item["dividendsAccountStatus"] = 1 | 358 | + if a.PaymentStatus == 2 { |
359 | + item["dividendsAccountStatus"] = 3 | ||
360 | } | 360 | } |
361 | if v, ok := mapOrderGoods[a.OrderGoodId]; ok { | 361 | if v, ok := mapOrderGoods[a.OrderGoodId]; ok { |
362 | item["orderGoodName"] = v.OrderGoodName | 362 | item["orderGoodName"] = v.OrderGoodName |
-
请 注册 或 登录 后发表评论