This commit is contained in:
2025-12-30 23:13:38 +08:00
parent c79d438681
commit bfcac8ab2c
40 changed files with 236 additions and 52 deletions

View File

@@ -209,7 +209,11 @@ static NSInteger HTTP_ERROR_CODE = 0;
return nil;
}
if (!([urlString hasPrefix:@"http"] || [urlString hasPrefix:@"https"])) {
urlString = [NSString stringWithFormat:@"%@%@",ServerUrl,urlString];
NSString *server = ServerUrl;
if (QXGlobal.shareGlobal.isNeedChangeServer) {
server = RServerUrl;
}
urlString = [NSString stringWithFormat:@"%@%@",server,urlString];
}
NSLog(@"发起请求 --- URL %@",urlString);