杨锴
2025-03-11 90dc3329d1973fda691e357cf4523d5c7c67fa1d
XQMuse/Root/Network/NetworkRequest.swift
@@ -229,7 +229,7 @@
                                                                        errorString.append("\n【错误码:\(code)】")
                                                            }
                                                            if !ignoreAlert{
                                                                        alert(msg: errorString)
                                                                        alert(msg: "网络连接超时")
                                                            }
                                                            ob.onError(response.error!)
                                                            return
@@ -245,7 +245,7 @@
                                ob.onError(NetRequestError.InvaildSession)
                                                                                    default:
                                                                                                if !ignoreAlert{
                                                                                                            alertError(msg: "\(next.msg)")
                                                                                                            alertError(msg: "网络连接超时")
                                                                                                }
                                                                                                ob.onError(NetRequestError.Other(next.code,next.msg))
                                                                        }