Commit a547c6db authored by jianghaiming's avatar jianghaiming

update:Set

parent 95ee2f8d
......@@ -507,7 +507,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]);
}
}
......@@ -515,7 +515,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