修改登录
This commit is contained in:
@@ -202,6 +202,7 @@ class Wechat
|
||||
// 返回值为空
|
||||
return [];
|
||||
}
|
||||
dump($result);
|
||||
if (isset($result['errcode'])){
|
||||
if ($result['errcode'] == "40029"){
|
||||
// code过期
|
||||
|
||||
@@ -143,7 +143,7 @@ class WechatPay
|
||||
"openid" => $openid // 下单用户的 openid
|
||||
]
|
||||
];
|
||||
|
||||
dump($options);
|
||||
try {
|
||||
$response = $app->getClient()->postJson("v3/pay/transactions/jsapi", $options);
|
||||
if ($response->isFailed()) {
|
||||
|
||||
Reference in New Issue
Block a user