master
wangxinglong 2022-03-28 19:58:00 +08:00
parent a028686fb4
commit 95ff287fb3
1 changed files with 3 additions and 3 deletions

View File

@ -690,7 +690,7 @@ class Coupon extends Base
//6. 核销用户提现到零钱 写入红包记录 //6. 核销用户提现到零钱 写入红包记录
if($confirmDistributedMoney > 0 && !empty($consumerRedpackUser)){ if($confirmDistributedMoney > 0 && !empty($consumerRedpackUser)){
$distributedRedpack = Redpack::getDistributionRedpack( Redpack::userTypeDistributed,$agencyRedpackUser->user_code,$coupon->id); $distributedRedpack = Redpack::getDistributionRedpack( Redpack::userTypeDistributed,$consumerRedpackUser->user_code,$coupon->id);
//如果付款过一次了 就查询付款状态 //如果付款过一次了 就查询付款状态
if(!empty($distributedRedpack)){ if(!empty($distributedRedpack)){
$consumerMchBillno = $distributedRedpack->mch_billno; $consumerMchBillno = $distributedRedpack->mch_billno;
@ -742,7 +742,7 @@ class Coupon extends Base
//7 分销者用户提现到零钱 写入红包记录 //7 分销者用户提现到零钱 写入红包记录
if($confirmDistributionMoney > 0 && !empty($distributionRedpackUser)){ if($confirmDistributionMoney > 0 && !empty($distributionRedpackUser)){
$distributionRedpack = Redpack::getDistributionRedpack( Redpack::userTypeDistribution,$agencyRedpackUser->user_code,$coupon->id); $distributionRedpack = Redpack::getDistributionRedpack( Redpack::userTypeDistribution,$distributionRedpackUser->user_code,$coupon->id);
//如果付款过一次了 就用同一个订单号发起 //如果付款过一次了 就用同一个订单号发起
if(!empty($distributionRedpack)){ if(!empty($distributionRedpack)){
$distributionMchBillno = $distributionRedpack->mch_billno; $distributionMchBillno = $distributionRedpack->mch_billno;