setter
parent
52c7b2e2b5
commit
48c3e9958b
|
@ -555,26 +555,25 @@ class Coupon extends Base
|
|||
$confirmAdminMoney = $disAdminMoney + $disDistributionMoney;
|
||||
$confirmDistributionMoney = 0;
|
||||
$confirmDistributedMoney = $disDistributedMoney;
|
||||
$confirmAgencyMoney = 0;
|
||||
$confirmAgencyMoney = $disAgencyMoney;
|
||||
}else{//存在分销人 就走分销人
|
||||
$confirmAdminMoney = $disAdminMoney;
|
||||
$confirmDistributionMoney = $disDistributionMoney;
|
||||
$confirmDistributedMoney = $disDistributedMoney;
|
||||
$confirmAgencyMoney = 0;
|
||||
$confirmAgencyMoney = $disAgencyMoney;
|
||||
}
|
||||
|
||||
}else{
|
||||
$confirmAdminMoney = $adminMoney;
|
||||
$confirmDistributionMoney = 0;
|
||||
$confirmDistributedMoney = $consumerMoney;
|
||||
$confirmAgencyMoney = $adminMoney;
|
||||
$confirmAgencyMoney = $agencyMoney;
|
||||
if(isset($business->agency) && $business->agency){
|
||||
$agencyRedpackUser = Account::findOne([
|
||||
["business_code","=",$business->agency->code],
|
||||
["type","=",Account::type_business],
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue