From 17e038beb11619a62a3d1a7000ed30a3472ab0ca Mon Sep 17 00:00:00 2001 From: CodeST <694468528@qq.com> Date: Mon, 22 Dec 2025 19:22:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keyBoard/Class/Shop/VM/KBShopVM.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/keyBoard/Class/Shop/VM/KBShopVM.m b/keyBoard/Class/Shop/VM/KBShopVM.m index c64c118..9023c1f 100644 --- a/keyBoard/Class/Shop/VM/KBShopVM.m +++ b/keyBoard/Class/Shop/VM/KBShopVM.m @@ -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,