交友房初步完成

This commit is contained in:
启星
2025-08-22 19:02:44 +08:00
parent 4ab82fa98f
commit ddeec09ea5
147 changed files with 3566 additions and 363 deletions

View File

@@ -206,7 +206,7 @@ static NSInteger HTTP_ERROR_CODE = 0;
if (fail)fail(NOT_NETWORK_ERROR,@"无网络",nil);
return nil;
}
if (![urlString hasPrefix:@"http"] || ![urlString hasPrefix:@"https"]) {
if (!([urlString hasPrefix:@"http"] || [urlString hasPrefix:@"https"])) {
urlString = [NSString stringWithFormat:@"%@%@",ServerUrl,urlString];
}
NSLog(@"发起请求 --- URL %@",urlString);