作者 yangfu

分红明显修改

@@ -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