// +---------------------------------------------------------------------- declare (strict_types=1); namespace cores\cloud\enum; /** * HTTP返回状态枚举类 * Class StatusEnum * @package cores\cloud */ final class HttpStatus { // 请求成功 const SUCCESS = 200; // 未登录 const NOT_LOGGED = 401; // 没有权限访问 const NOT_PERMISSION = 403; // 服务器内部错误 const ERROR = 500; }