Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrorParam 错误的参数 ErrorParam = NewError(400400, "错误的参数") // ErrorQuestionNotFound 题目未找到 ErrorQuestionNotFound = NewError(400404, "题目未找到") // ErrorParseFile 解析文件出错 ErrorParseFile = NewError(400500, "解析文件出错") )
Functions ¶
This section is empty.
Types ¶
type ResultCont ¶
type ResultCont struct { ErrCode int `json:"errCode"` // 提示代码 Message string `json:"message"` // 提示信息 }
ResultCont 返回错误结果
Click to show internal directories.
Click to hide internal directories.