Commit b89e9cec authored by David黄金龙's avatar David黄金龙

20001 token无效

parent 3934a79a
...@@ -290,7 +290,7 @@ class YHNetRequest: NSObject { ...@@ -290,7 +290,7 @@ class YHNetRequest: NSObject {
#if DEBUG #if DEBUG
printLog("服务器返回数据是:\(obj)") printLog("服务器返回数据是:\(obj)")
#endif #endif
if obj.code == 10010 { if obj.code == 20001 {
DispatchQueue.main.async { DispatchQueue.main.async {
YHLoginManager.shared.clearUserInfo() YHLoginManager.shared.clearUserInfo()
YHHUD.flash(message: "登录状态失效") YHHUD.flash(message: "登录状态失效")
......
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