12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- /**
- * @Name
- * @Description
- * @Author 刘学玺
- * @Date 2023/11/24 10:42
- */
- namespace App\Exceptions;
- class Message
- {
- const BAD_REQUEST = '服务端异常!';
- const INTERNAL_SERVER_ERROR = '服务器错误!';
- const Ok = '操作成功!';
- const PARES_ERROR = '服务器语法错误!';
- const Error = '服务器语法错误,请注意查看信息!';
- const REFLECTION_EXCEPTION = '服务器异常映射!';
- const RUNTIME_EXCEPTION = '服务器运行时错误!';
- const ERROR_EXCEPTION = '服务器框架运行出错!';
- const INVALID_ARGUMENT_EXCEPTION = '数据库链接问题!';
- const MODEL_NOT_FOUND_EXCEPTION = '数据模型错误!';
- const QUERY_EXCEPTION = '数据库DB错误!';
- const COMMON_EXCEPTION = '网络错误!';
- const API_ERROR_EXCEPTION = '操作失败!';
- const ADD_API_ERROR = '添加失败!';
- const ADD_API_SUCCESS = '添加成功!';
- const UPDATE_API_ERROR = '修改失败!';
- const UPDATE_API_SUCCESS = '修改成功!';
- const STATUS_API_ERROR = '调整失败!';
- const STATUS_API_SUCCESS = '调整成功!';
- const DELETE_API_ERROR = '删除失败!';
- const DELETE_API_SUCCESS = '删除成功!';
- const DELETE_RECYCLE_API_ERROR = '恢复失败!';
- const DELETE_RECYCLE_API_SUCCESS = '恢复成功!';
- const TOKEN_ERROR_KEY = 'apikey错误!'; // 70001
- const TOKEN_ERROR_SET = '请先登录!'; // 50012
- const TOKEN_ERROR_BLACK = 'token 非法!'; // 50008
- const TOKEN_ERROR_EXPIRED = 'token 过期!'; // 50014
- const TOKEN_ERROR_JWT = '请先登录!'; // 50012
- const TOKEN_ERROR_JTB = '请先登录!'; // 50012
- }
|