调试平台手续费分润
This commit is contained in:
parent
98f0330441
commit
30aa2e2e98
@ -52,7 +52,7 @@ class paySuccessOrder
|
||||
//入口商户佣金
|
||||
$entryMerId = $item['source_id'];
|
||||
$entryMerchant = app()->make(MerchantDao::class)->get($entryMerId);
|
||||
if ($entryMerchant == Merchant::TypeStore) {
|
||||
if ($entryMerchant['type_id'] == Merchant::TypeStore) {
|
||||
$merchantRate = systemConfig('commission_to_merchant_rate');
|
||||
$merchantAmount = bcmul($this->totalAmount, (string)($merchantRate / 100), 2);
|
||||
/** @var MerchantRepository $merchantRepo */
|
||||
|
Loading…
x
Reference in New Issue
Block a user