|
|
@@ -321,8 +321,9 @@ class PaymentLogic extends BaseLogic
|
|
|
* @return array|false|mixed|string|string[]
|
|
|
* @throws \Exception
|
|
|
*/
|
|
|
- public static function shopPay($payWay, $from, $order, $terminal, $redirectUrl)
|
|
|
+ public static function shopPay($payWay, $from, $order, $userInfo, $redirectUrl)
|
|
|
{
|
|
|
+ $terminal = $userInfo['terminal'];
|
|
|
// 支付编号-仅为微信支付预置(同一商户号下不同客户端支付需使用唯一订单号)
|
|
|
$paySn = $order['sn'];
|
|
|
if ($payWay == PayEnum::WECHAT_PAY) {
|