提交
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user