修改接口
This commit is contained in:
@@ -207,9 +207,10 @@
|
||||
if (completion) completion(NO, [self kb_invalidParameterError]);
|
||||
return;
|
||||
}
|
||||
NSDictionary *body = @{@"themeId": [self kb_themeIdParamFromString:themeId]};
|
||||
[[KBNetworkManager shared] POST:API_THEME_RESTORE
|
||||
jsonBody:body
|
||||
NSString *themeIdValue = [[self kb_themeIdParamFromString:themeId] description];
|
||||
NSString *path = [NSString stringWithFormat:@"%@?themeId=%@", API_THEME_RESTORE, themeIdValue ?: @""];
|
||||
[[KBNetworkManager shared] POST:path
|
||||
jsonBody:nil
|
||||
headers:nil
|
||||
autoShowBusinessError:NO
|
||||
completion:^(NSDictionary * _Nullable json,
|
||||
|
||||
Reference in New Issue
Block a user