mirror of
https://gitee.com/ctexthuang/hyperf_rbac_framework_server_ctexthuang.git
synced 2025-12-25 17:07:49 +08:00
fix : jwt
This commit is contained in:
@@ -49,7 +49,7 @@ abstract class BaseErrExceptionHandler extends ExceptionHandler
|
||||
* @var AdminReturn|ApiReturn $returnObj
|
||||
*/
|
||||
$returnObj = $this->container->get($returnClass);
|
||||
$result = $returnObj->error($e->getMessage(), $e->getCode());
|
||||
$result = $returnObj->error($e->getMessage(), $e->getCode(), $e?->getData() ?? []);
|
||||
$this->stopPropagation();
|
||||
return $response->withHeader("Content-Type", "application/json")
|
||||
->withStatus(200)
|
||||
|
||||
Reference in New Issue
Block a user