This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//正数 客户端=警告,客户端展示错误信息但不重试请求、 负数 客户端=错误,客户端重试 | |
//系统和公共错误 | |
define('ERROR_PARAMETER', -1001); //参数错误 | |
define('DB_EXEC_ERROR', -1002); //数据库执行失败 | |
define('ERROR_APP_VERSION', -1003); //版本与服务器不一致 | |
define('SERVER_MAINTENANCE', -1004); //服务器维护中 | |
define('REDIS_KEY_NOT_IDENTIFY', -1005); //未定义的redis key | |
define('SOCKET_TOKEN_WRONG', -1006); //错误的webSocket访问token |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//正数 客户端=警告,客户端展示错误信息但不重试请求、 负数 客户端=错误,客户端重试 | |
//系统和公共错误 | |
define('ERROR_PARAMETER', -1001); //参数错误 | |
define('DB_EXEC_ERROR', -1002); //数据库执行失败 | |
define('ERROR_APP_VERSION', -1003); //版本与服务器不一致 | |
define('SERVER_MAINTENANCE', -1004); //服务器维护中 | |
define('REDIS_KEY_NOT_IDENTIFY', -1005); //未定义的redis key | |
define('SOCKET_TOKEN_WRONG', -1006); //错误的webSocket访问token |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//正数 客户端=警告,客户端展示错误信息但不重试请求、 负数 客户端=错误,客户端重试 | |
//系统和公共错误 | |
define('ERROR_PARAMETER', -1001); //参数错误 | |
define('DB_EXEC_ERROR', -1002); //数据库执行失败 | |
define('ERROR_APP_VERSION', -1003); //版本与服务器不一致 | |
define('SERVER_MAINTENANCE', -1004); //服务器维护中 | |
define('REDIS_KEY_NOT_IDENTIFY', -1005); //未定义的redis key | |
define('SOCKET_TOKEN_WRONG', -1006); //错误的webSocket访问token |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//正数 客户端=警告,客户端展示错误信息但不重试请求、 负数 客户端=错误,客户端重试 | |
//系统和公共错误 | |
define('ERROR_PARAMETER', -1001); //参数错误 | |
define('DB_EXEC_ERROR', -1002); //数据库执行失败 | |
define('ERROR_APP_VERSION', -1003); //版本与服务器不一致 | |
define('SERVER_MAINTENANCE', -1004); //服务器维护中 | |
define('REDIS_KEY_NOT_IDENTIFY', -1005); //未定义的redis key | |
define('SOCKET_TOKEN_WRONG', -1006); //错误的webSocket访问token |