|
@@ -97,7 +97,7 @@ class TokenInterceptor extends Interceptor {
|
|
|
|
|
|
class CustomInterceptors extends Interceptor {
|
|
class CustomInterceptors extends Interceptor {
|
|
int _retryCount = 0;
|
|
int _retryCount = 0;
|
|
- final List<String> _backupUrls = ['https://api.androidrj02.top','https://api.androidrj88.com','https://user.jyjksmd.top','https://api.androidrj03.top'];
|
|
|
|
|
|
+ final List<String> _backupUrls = ['https://api.androidrj02.top','https://api.androidrj88.com','https://naizi1124.xn--3iq226gfdb94q.com','https://user.jyjksmd.top','https://api.androidrj03.top'];
|
|
final Dio _dio; // 添加 Dio 作为参数
|
|
final Dio _dio; // 添加 Dio 作为参数
|
|
CustomInterceptors(this._dio);
|
|
CustomInterceptors(this._dio);
|
|
Future<bool> isConnected() async {
|
|
Future<bool> isConnected() async {
|