liyinglin 2 years ago
parent 395ed81ca5
commit c25abec5c4

@ -262,12 +262,12 @@ class AuthController extends Controller
{
$code = request('code');
$openid = request()->openid;
if (empty($openid)) {
return response()->json([
'errorcode' => '4001',
'errormsg' => "openid为空"
], 401);
}
// if (empty($openid)) {
// return response()->json([
// 'errorcode' => '4001',
// 'errormsg' => "openid为空"
// ], 401);
// }
$config = [
'app_id' => $this->appid,
'secret' => $this->appsecret

Loading…
Cancel
Save