Documentation
¶
Index ¶
Constants ¶
View Source
const ( SUCCESS = 200 ERROR = 500 INVALID_PARAMS = 400 ERROR_RECORD_NOT_FOUND = 1001 )
Variables ¶
View Source
var MsgFlags = map[int]string{
SUCCESS: "ok",
ERROR: "fail",
INVALID_PARAMS: "请求参数错误",
ERROR_RECORD_NOT_FOUND: "记录不存在",
}
MsgFlags is the map of error code and error message
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.