package
Version:
v0.0.0-...-18c487f
Opens a new window with list of versions in this module.
Published: May 17, 2017
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
Ok = 200
BadRequest = 400
Unauthorized = 401
NotFound = 404
InternalServerError = 500
ServerErr = "服务器异常,请联系管理员!"
)
type Result struct {
Code int
Msg string
Data interface{}
}
返回结果结构
Code 错误码
Msg 返回信息
Date 返回数据
Source Files
¶
Click to show internal directories.
Click to hide internal directories.