修改商户端订单实付金额展示

This commit is contained in:
luofei 2024-03-11 10:58:27 +08:00
parent 9b066cdfb3
commit fa03d63243

View File

@ -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());
}