添加支付费率扣除

This commit is contained in:
Dev
2026-10-27 18:10:51 +08:00
parent 20f9113d94
commit f53c142a56
14 changed files with 225 additions and 41 deletions
+2 -1
View File
@@ -308,7 +308,8 @@ class Order extends Api
if (!$orderNo) {
$this->error('订单号不能为空');
}
$res = OrderService::confirmVirtualPay($orderNo, $this->auth->id);
$payPlatform = $this->request->post('payPlatform', '');
$res = OrderService::confirmVirtualPay($orderNo, $this->auth->id, $payPlatform);
$this->success('支付成功', $res);
} catch (\Exception $e) {
if ($e instanceof HttpResponseException) {