|
@@ -28,11 +28,11 @@ class QuickAppGetUserFromToken extends BaseMiddleware
|
|
|
}
|
|
|
try {
|
|
|
$user = $this->auth->authenticate($token);
|
|
|
- QappUserService::setGolableUserStatic($user->id);
|
|
|
$send_order_id = $request->header('send_order_id', 0);
|
|
|
if ($send_order_id) {
|
|
|
UserService::setUserSendOrderStatic($user->id, $send_order_id);
|
|
|
}
|
|
|
+ QappUserService::setGolableUserStatic($user->id);
|
|
|
} catch (TokenExpiredException $e) {
|
|
|
return response()->error('QAPP_TOKEN_ERROR');
|
|
|
} catch (JWTException $e) {
|