diff --git a/config/status.php b/config/status.php new file mode 100644 index 0000000..f4a6a43 --- /dev/null +++ b/config/status.php @@ -0,0 +1,12 @@ + 200, + // 未登录 + 'not_logged' => 401, + // 没有权限访问 + 'not_permission' => 403, + // 服务器内部错误 + 'error' => 500, +];