Commit 8ee51c28 authored by jianghaiming's avatar jianghaiming

Merge branch 'jiang_fix_20210824' into test

parents 0910811d a547c6db
......@@ -509,7 +509,7 @@ class MarketingService
if ($commissionMode == Marketing::COMMISSION_MODE_RATE) {
$commissionTotal = ($firstCommissionRate + $secondCommissionRate) / 10000 * $price;
if ($price < ($commissionTotal+$chargeFee)) {
throw new MarketingException(['cus'=>15]);
throw new MarketingException(['cus'=>23]);
}
}
......@@ -517,7 +517,7 @@ class MarketingService
if ($commissionMode == Marketing::COMMISSION_MODE_FIXED) {
$commissionTotal = ($firstCommissionRate + $secondCommissionRate);
if ($price < ($commissionTotal+$chargeFee)) {
throw new MarketingException(['cus'=>15]);
throw new MarketingException(['cus'=>23]);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment