This commit is contained in:
mkm 2024-05-06 14:35:22 +08:00
parent a19eb057d0
commit 8297ad2c54

View File

@ -92,7 +92,7 @@ class RetailOrderController extends BaseApiController
}
}elseif($pay_type==PayEnum::WECHAT_PAY){
$redirectUrl = $params['redirect'] ?? '/pages/payment/payment';
$result = PaymentLogic::pay($pay_type,'', $order, $this->userInfo['terminal'], $redirectUrl);
$result = PaymentLogic::pay($pay_type,'cashierclass', $order, $this->userInfo['terminal'], $redirectUrl);
if (false === $result) {
return $this->fail(PaymentLogic::getError(), $params);
}