Commit 3eb2feea by zhengqiuyun86

网络通过

parent c83adf11
...@@ -7,6 +7,7 @@ const ( ...@@ -7,6 +7,7 @@ const (
BusinessError State = 1001 BusinessError State = 1001
OK State = 1000 OK State = 1000
Illegal State = 9000 Illegal State = 9000
LoginFailure State = -1
) )
func (t State) String() string { func (t State) String() string {
...@@ -17,6 +18,8 @@ func (t State) String() string { ...@@ -17,6 +18,8 @@ func (t State) String() string {
return "OK" return "OK"
case Illegal: case Illegal:
return "非法请求" return "非法请求"
case LoginFailure:
return "登陆失效"
default: default:
return "unknown" 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