作者 唐旭辉

code 修改

@@ -59,10 +59,8 @@ func transformCode(code string) int { @@ -59,10 +59,8 @@ func transformCode(code string) int {
59 switch code { 59 switch code {
60 case "0": 60 case "0":
61 return 0 //登录成功 61 return 0 //登录成功
62 - case "10026": 62 + case "10026", "10024":
63 return 2 //token过期 63 return 2 //token过期
64 - case "10024":  
65 - return 3 //token完全失效  
66 } 64 }
67 return -1 //请求成功,但业务检查不通过 65 return -1 //请求成功,但业务检查不通过
68 } 66 }