This commit is contained in:
2026-02-27 16:28:15 +08:00
parent c3e037e070
commit 4269fde923
6 changed files with 10 additions and 6 deletions

View File

@@ -213,9 +213,11 @@
return;
}
NSString *themeIdValue = [[self kb_themeIdParamFromString:themeId] description];
NSString *path = [NSString stringWithFormat:@"%@?themeId=%@", API_THEME_RESTORE, themeIdValue ?: @""];
[[KBNetworkManager shared] POST:path
jsonBody:nil
// NSString *path = [NSString stringWithFormat:@"%@?themeId=%@", API_THEME_RESTORE, themeIdValue ?: @""];
NSDictionary *body = @{@"themeId": [self kb_themeIdParamFromString:themeId]};
[[KBNetworkManager shared] POST:API_THEME_RESTORE
jsonBody:body
headers:nil
autoShowBusinessError:NO
completion:^(NSDictionary * _Nullable json,