master
wangxinglong 2021-12-20 13:57:57 +08:00
parent 41340b8337
commit 741dd5e1b0
1 changed files with 1 additions and 2 deletions

View File

@ -374,7 +374,7 @@ class Coupon extends Base
//可分配金额 如果是普通商家 //可分配金额 如果是普通商家
if($account->business["model"] == BusinessModel::model_ordinary) { if($business->model == BusinessModel::model_ordinary) {
$deductionMoney = $coupon->couponMain->deduction_money; $deductionMoney = $coupon->couponMain->deduction_money;
$agencyMoney = (($deductionMoney/100) * $coupon->couponMain->commission_agency); $agencyMoney = (($deductionMoney/100) * $coupon->couponMain->commission_agency);
$adminMoney = (($deductionMoney/100) * $coupon->couponMain->commission_admin); $adminMoney = (($deductionMoney/100) * $coupon->couponMain->commission_admin);
@ -475,7 +475,6 @@ class Coupon extends Base
Db::rollback(); Db::rollback();
return $this->json(5001, "Repository服务器错误"); return $this->json(5001, "Repository服务器错误");
}catch (\Exception $e){ }catch (\Exception $e){
//echo $e->getMessage();
Db::rollback(); Db::rollback();
return $this->json(5002, "服务器错误"); return $this->json(5002, "服务器错误");
} }