修改接口

This commit is contained in:
2025-12-22 19:22:12 +08:00
parent 4e6fd90668
commit 17e038beb1

View File

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