This commit is contained in:
2022-09-09 17:56:22 +08:00
parent 4e1a6ea81e
commit 30acf33daf

View File

@@ -115,7 +115,7 @@ class Wechat
'trade_type' => 'JSAPI',
'openid' => $user->openid,
]);
$prepayId = $unify->prepay_id;
$prepayId = $unify['prepay_id'];
$jssdk = $payment->jssdk->bridgeConfig($prepayId);
return View::fetch('', ['jssdk' => $jssdk]);
}