master
wangxinglong 2022-03-16 09:32:14 +08:00
parent c107b72f43
commit 64c4aef95a
1 changed files with 4 additions and 4 deletions

View File

@ -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'])))
. "");
}
}