Skip to content

Commit cece847

Browse files
committed
fix(tiktokshop): 修复因大小写敏感导致的请求签名错误
1 parent c3bb4b4 commit cece847

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SKIT.FlurlHttpClient.ByteDance.TikTokGlobalShop/Interceptors/TikTokShopRequestSigningInterceptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public override async Task BeforeCallAsync(HttpInterceptorContext context, Cance
7575
body,
7676
_appSecret
7777
);
78-
signature = Utilities.HMACUtility.HashWithSHA256(_appSecret, msgText).Value!;
78+
signature = Utilities.HMACUtility.HashWithSHA256(_appSecret, msgText).Value!.ToLower();
7979
}
8080
catch (Exception ex)
8181
{

0 commit comments

Comments
 (0)