fix
无故事王国
2024-07-01 803e04b1ba7a513e8a04899c82b38f3c2fac131c
DolphinEnglishLearnStudent/Services/NetworkRequest.swift
@@ -232,19 +232,15 @@
                                                                                    case 200:ob.onNext(next)
                                                                                    case 506:
                                                                                                ob.onError(NetRequestError.Other(next.code,next.msg))
                                                                                    case 503,502: //登录被冻结
                                                                                    case 502: //登录被冻结
                                                                                                CommonAlertView.show(isSinple: true, content: next.msg)
//                                                                                    case 501:
//                                                                                                CommonAlertView.show(title: "提示", content: next.msg,isSingle: true) { _ in
//
//                                                                                                }
//                                                                                                ob.onError(NetRequestError.InvaildSession)
                                                                                    case 401,505,600:
                                                                                                if !ignoreAlert{
                                                                                                            alertError(msg: "登录失效,请重新登录");ob.onError(NetRequestError.InvaildSession)
                                                                                                }
                                                                                                sceneDelegate?.needLogin()
                                                                                    default:
                                                                                                //503是手机验证码错误
                                                                                                if !ignoreAlert{
                                                                                                            DispatchQueue.main.async {
                                                                                                                        alertError(msg: "\(next.msg)")