wesmiler 5 lat temu
rodzic
commit
fcc750e368

+ 1 - 1
app/Exception/Handler/TokenValidExceptionHandler.php

@@ -40,7 +40,7 @@ class TokenValidExceptionHandler extends ExceptionHandler
 
             // 阻止异常冒泡
             $this->stopPropagation();
-            return $response->withStatus(500)->withBody(new SwooleStream($data));
+            return $response->withBody(new SwooleStream($data));
         }
 
         // 交给下一个异常处理器