From 0f2a8f46537280a6be5896ec8195241148e6e91e Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Mon, 21 Mar 2022 18:09:02 +0800 Subject: [PATCH] setter --- app/controller/manager/Coupon.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/controller/manager/Coupon.php b/app/controller/manager/Coupon.php index cb08b71..4eee807 100644 --- a/app/controller/manager/Coupon.php +++ b/app/controller/manager/Coupon.php @@ -224,12 +224,12 @@ class Coupon extends Base - $data['commission_agency'] = $this->data["distributionProportion"]["commission_agency"]; - $data['commission_admin'] = $this->data["distributionProportion"]["commission_admin"]; - $data['commission_consumer'] = $this->data["distributionProportion"]["commission_consumer"]; - $data['commission_dis_admin'] = $this->data["distributionProportionUser"]["commission_dis_admin"]; - $data['commission_dis_distribution'] = $this->data["distributionProportionUser"]["commission_dis_distribution"]; - $data['commission_dis_distributed'] = $this->data["distributionProportionUser"]["commission_dis_distributed"]; + $data['commission_agency'] = $this->data["distributionProportion"]["agency"]; + $data['commission_admin'] = $this->data["distributionProportion"]["admin"]; + $data['commission_consumer'] = $this->data["distributionProportion"]["consumer"]; + $data['commission_dis_admin'] = $this->data["distributionProportionUser"]["admin"]; + $data['commission_dis_distribution'] = $this->data["distributionProportionUser"]["distribution"]; + $data['commission_dis_distributed'] = $this->data["distributionProportionUser"]["distributed"]; $totalCommission = $data['commission_agency'] + $data['commission_admin'] + $data['commission_consumer']; if ($totalCommission != 100) {