setter
parent
c107b72f43
commit
64c4aef95a
|
@ -926,7 +926,7 @@ class Coupon extends Base
|
|||
if ($distributedMoney != 0 && $distributedMoney < CouponMain::min_redpack_money) {
|
||||
return $this->json(4002,
|
||||
"扣除金额最低"
|
||||
. (CouponMain::min_redpack_money * (100 / ($data['commission_dis_distributed'])))
|
||||
. (CouponMain::min_redpack_money * (100 / ($couponMain['commission_dis_distributed'])))
|
||||
. "元");
|
||||
}
|
||||
//检测 【分销者】部分是否最少0.3元
|
||||
|
@ -934,7 +934,7 @@ class Coupon extends Base
|
|||
if ($distributionMoney != 0 && $distributionMoney < CouponMain::min_redpack_money) {
|
||||
return $this->json(4002,
|
||||
"扣除金额最低"
|
||||
. (CouponMain::min_redpack_money * (100 / ($data['commission_dis_distribution'])))
|
||||
. (CouponMain::min_redpack_money * (100 / ($couponMain['commission_dis_distribution'])))
|
||||
. "元");
|
||||
}
|
||||
}else{
|
||||
|
@ -943,7 +943,7 @@ class Coupon extends Base
|
|||
if ($consumerMoney != 0 && $consumerMoney < CouponMain::min_redpack_money) {
|
||||
return $this->json(4002,
|
||||
"扣除金额最低"
|
||||
. (CouponMain::min_redpack_money * (100 / ($data['commission_consumer'])))
|
||||
. (CouponMain::min_redpack_money * (100 / ($couponMain['commission_consumer'])))
|
||||
. "元");
|
||||
}
|
||||
//检测 【渠道商】部分是否最少0.3元
|
||||
|
@ -951,7 +951,7 @@ class Coupon extends Base
|
|||
if ($agencyMoney != 0 && $agencyMoney < CouponMain::min_redpack_money) {
|
||||
return $this->json(4002,
|
||||
"扣除金额最低"
|
||||
. (CouponMain::min_redpack_money * (100 / ($data['commission_agency'])))
|
||||
. (CouponMain::min_redpack_money * (100 / ($couponMain['commission_agency'])))
|
||||
. "元");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue