Commit 3eb2feea by zhengqiuyun86

网络通过

parent c83adf11
......@@ -7,6 +7,7 @@ const (
BusinessError State = 1001
OK State = 1000
Illegal State = 9000
LoginFailure State = -1
)
func (t State) String() string {
......@@ -17,6 +18,8 @@ func (t State) String() string {
return "OK"
case Illegal:
return "非法请求"
case LoginFailure:
return "登陆失效"
default:
return "unknown"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment