Documentation
¶
Index ¶
Constants ¶
View Source
const ( SUCCESS = 200 ERROR = 500 INVALID_PARAMS = 400 ERROR_AUTH_CHECK_TOKEN_FAIL = 20001 ERROR_AUTH_CHECK_TOKEN_TIMEOUT = 20002 ERROR_AUTH_TOKEN = 20003 ERROR_AUTH = 20004 )
Variables ¶
View Source
var MsgFlags = map[int]string{
SUCCESS: "处理成功",
ERROR: "未知错误",
INVALID_PARAMS: "请求参数错误",
ERROR_AUTH_CHECK_TOKEN_FAIL: "Token鉴权失败",
ERROR_AUTH_CHECK_TOKEN_TIMEOUT: "Token已超时",
ERROR_AUTH_TOKEN: "Token生成失败",
ERROR_AUTH: "Token错误",
}
Functions ¶
func GetCodeMsg ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.