package
Version:
v0.0.0-...-efd361b
Opens a new window with list of versions in this module.
Published: Dec 8, 2021
License: GPL-2.0
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
var (
NoErr = ErrMsg{2000, "请求成功"}
AuthErr = ErrMsg{4001, "认证错误"}
AuthExpireErr = ErrMsg{4002, "token 过期,请刷新token"}
AuthActionErr = ErrMsg{4003, "权限错误"}
SystemErr = ErrMsg{5000, "系统错误,请联系管理员"}
DataEmptyErr = ErrMsg{5001, "数据为空"}
TokenCacheErr = ErrMsg{5002, "TOKEN CACHE 错误"}
)
type MoreResponse struct {
Data interface{} `json:"data"`
Total int `json:"total"`
}
type Response struct {
Code int64 `json:"code"`
Msg interface{} `json:"msg"`
Data interface{} `json:"data"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.