quguofeng 1 năm trước cách đây
mục cha
commit
81c8e24d10
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/controller/api/Auth.php

+ 2 - 0
app/controller/api/Auth.php

@@ -43,6 +43,7 @@ use think\facade\Cache;
 use think\facade\Log;
 use think\facade\Queue;
 use crmeb\jobs\SendSmsJob;
+use function Qiniu\explodeUpToken;
 
 /**
  * Class Auth
@@ -553,6 +554,7 @@ class Auth extends BaseController
             return app('json')->fail('授权失败');
         $authInfo = $users[0];
         $userRepository = app()->make(UserRepository::class);
+        var_dump($auth['auth']['order_id']);exit();
         $authInfo['order_id'] = $auth['auth']['order_id'] ?? 0;
         $user = $users[1] ?? $userRepository->wechatUserIdBytUser($authInfo['wechat_user_id']);
         $code = (int)($auth['auth']['spread_code']['id'] ?? $auth['auth']['spread_code'] ?? '');