mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 23:48:03 +08:00
更改目录结构
This commit is contained in:
15
server/admin/error.go
Normal file
15
server/admin/error.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package admin
|
||||
|
||||
// 返回码
|
||||
const (
|
||||
RespSuccess = 0
|
||||
RespInternalErr = 1
|
||||
RespTokenErr = 2
|
||||
RespUserOrPassErr = 3
|
||||
RespParamErr = 4
|
||||
)
|
||||
|
||||
var RespMap = map[int]string{
|
||||
RespTokenErr: "客户端TOKEN错误",
|
||||
RespUserOrPassErr: "用户名或密码错误",
|
||||
}
|
Reference in New Issue
Block a user