This commit is contained in:
2025-12-03 13:54:57 +08:00
parent b87998549c
commit c1eb6a3458
11 changed files with 204 additions and 58 deletions

View File

@@ -110,7 +110,7 @@
[[KBNetworkManager shared] GET:@"https://www.apple.com"
parameters:nil
headers:nil
completion:^(id jsonOrData, NSURLResponse *response, NSError *error) {
completion:^(NSDictionary *json, NSURLResponse *response, NSError *error) {
NSLog(@"[Test] apple.com finished, error = %@", error);
}];
}

View File

@@ -44,7 +44,7 @@
dispatch_async(dispatch_get_main_queue(), ^{ [self.textView becomeFirstResponder]; });
[[KBNetworkManager shared] GET:KB_API_APP_CONFIG parameters:nil headers:nil completion:^(id _Nullable jsonOrData, NSURLResponse * _Nullable response, NSError * _Nullable error) {
[[KBNetworkManager shared] GET:KB_API_APP_CONFIG parameters:nil headers:nil completion:^(NSDictionary * _Nullable json, NSURLResponse * _Nullable response, NSError * _Nullable error) {
NSLog(@"====");
}];
}