rkljw 13 giờ trước cách đây
mục cha
commit
dc2d063515
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/Middleware/Auth/FooMiddleware.php

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

@@ -58,6 +58,7 @@ class FooMiddleware implements MiddlewareInterface
 //                var_dump("token类型:",$header['token'][0]);
                 $ver = $this->JWT->getClaimsByToken($header['token'][0]);
                 $tokenTime =  $this->JWT->getTokenDynamicCacheTime($header['token'][0]);
+                $this->JWT->verifyToken($header['token'][0]);
                 if($tokenTime==0){
                    return $this->response->json(
                        [