修改商户端订单实付金额展示
This commit is contained in:
parent
9b066cdfb3
commit
fa03d63243
@ -94,6 +94,7 @@ class StoreOrder extends BaseController
|
||||
return app('json')->fail('订单不存在');
|
||||
if ($detail['mer_id'] != $merId)
|
||||
return app('json')->fail('没有权限');
|
||||
$detail['pay_price'] = $detail['consumption_money'] > 0 ? bcadd($detail['pay_price'], $detail['consumption_money'], 2) : $detail['pay_price'];
|
||||
return app('json')->success($detail->toArray());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user