|
@@ -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'] ?? '');
|