hrjy hace 3 años
padre
commit
97e77328c1
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      crmeb/repositories/UserRepository.php

+ 0 - 1
crmeb/repositories/UserRepository.php

@@ -76,7 +76,6 @@ class UserRepository
      */
      */
     public static function parseToken($token): array
     public static function parseToken($token): array
     {
     {
-        $token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJjcm1lYi5jb20iLCJhdWQiOiJjcm1lYi5jb20iLCJpYXQiOjE2NDg0MzUxNzgsIm5iZiI6MTY0ODQzNTE3OCwiZXhwIjoxNjQ4NDQ1OTc4LCJqdGkiOnsiaWQiOjEsInR5cGUiOiJ1c2VyIn19._PT25qHIFanCEDBDjhTt_o9_p9qQSJx5eUXWQ2Od_zw';
         if (!$token || !$tokenData = UserToken::where('token', $token)->find())
         if (!$token || !$tokenData = UserToken::where('token', $token)->find())
             throw new AuthException('请登录', 410000);
             throw new AuthException('请登录', 410000);
         try {
         try {