feat: 调整平台和门店的抽成比例
This commit is contained in:
parent
21b36295d9
commit
426f9ed76c
@ -61,8 +61,8 @@ class CommissionLogic extends BaseLogic
|
||||
*/
|
||||
public static function setStore($order, $transaction_id = 0)
|
||||
{
|
||||
$platform = self::platform($order, 0.05, $transaction_id); //平台
|
||||
$store = self::store($order, 0.02, $transaction_id, 0); //门店
|
||||
$platform = self::platform($order, 0.02, $transaction_id); //平台
|
||||
$store = self::store($order, 0.05, $transaction_id, 0); //门店
|
||||
$attrition = self::attrition($order, 0.01, $transaction_id, 16); //损耗
|
||||
$moeny = bcadd(bcadd($platform, $store, 2), $attrition, 2);
|
||||
self::suppliter($order, $moeny, $transaction_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user