wesmiler 5 anni fa
parent
commit
c7b54ed41a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/Middleware/Auth/TokenMiddleware.php

+ 1 - 0
app/Middleware/Auth/TokenMiddleware.php

@@ -5,6 +5,7 @@ declare(strict_types=1);
 namespace App\Middleware\Auth;
 
 use App\Model\User;
+use Hyperf\Di\Annotation\Inject;
 use Phper666\JWTAuth\Exception\TokenValidException;
 use Phper666\JWTAuth\JWT;
 use Psr\Container\ContainerInterface;