s
This commit is contained in:
@@ -129,7 +129,7 @@ class Wechat
|
|||||||
'openid' => $user->openid,
|
'openid' => $user->openid,
|
||||||
]);
|
]);
|
||||||
$prepayId = $unify['prepay_id'];
|
$prepayId = $unify['prepay_id'];
|
||||||
$jssdk = $payment->jssdk->bridgeConfig($prepayId);
|
$jssdk = $payment->jssdk->bridgeConfig($prepayId, false);
|
||||||
return View::fetch('', ['jssdk' => $jssdk]);
|
return View::fetch('', ['jssdk' => $jssdk]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
}
|
}
|
||||||
WeixinJSBridge.invoke(
|
WeixinJSBridge.invoke(
|
||||||
'getBrandWCPayRequest',
|
'getBrandWCPayRequest',
|
||||||
{$jssdk},
|
{$jssdk|json_encode},
|
||||||
function (res) {
|
function (res) {
|
||||||
if (res.err_msg == "get_brand_wcpay_request:ok") {
|
if (res.err_msg == "get_brand_wcpay_request:ok") {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user