Documentation ¶
Index ¶
Constants ¶
View Source
const ( SUCCESS = 200 INVALID_PARAMS = 400 ERROR = 500 MYSQL_CONN_ERR = 10003000 MYSQL_ERR = 10003001 )
Variables ¶
View Source
var MsgFlags = map[int]string{
SUCCESS: "请求成功",
INVALID_PARAMS: "请求参数错误",
ERROR: "请求错误",
MYSQL_CONN_ERR: "MySQL连接失败",
MYSQL_ERR: "MySQL操作异常",
}
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.