js支付
This commit is contained in:
@@ -57,8 +57,7 @@ class Wechat extends Controller
|
|||||||
|
|
||||||
if (empty($data) || isset($data['errcode'])) {
|
if (empty($data) || isset($data['errcode'])) {
|
||||||
Log::error('[微信授权] 解析失败或返回错误'.json_encode($data));
|
Log::error('[微信授权] 解析失败或返回错误'.json_encode($data));
|
||||||
return false;
|
return V(0, '[微信授权] 解析失败或返回错误');
|
||||||
return V(1, '[微信授权] 解析失败或返回错误');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 成功获取到openid
|
// 成功获取到openid
|
||||||
|
|||||||
Reference in New Issue
Block a user