修改接口
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user