🎨 update

This commit is contained in:
2024-12-24 00:37:50 +08:00
parent 927f2d63a4
commit 69ee63ca4e
14 changed files with 63 additions and 19 deletions

View File

@@ -57,7 +57,7 @@ export const service = createAlova({
// 令牌
method.config.headers['X-Nonce'] = CryptoJS.lib.WordArray.random(16).toString();
// 签名
if (method.meta?.signature) {
method.config.headers['X-Content-Security'] = generateKeySecretSignature(0, method.type, method.url, method.config.params, method.data);
}