Pre Merge pull request !48 from candicandi/dev

This commit is contained in:
candicandi 2025-07-31 05:24:38 +00:00 committed by Gitee
commit 9e2f0eb2c3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -129,6 +129,7 @@ function createRequestClient(baseURL: string) {
typeof config.data === 'object'
? encryptWithAes(JSON.stringify(config.data), aesKey)
: encryptWithAes(config.data, aesKey);
config.headers['Content-Type'] = 'text/plain';
}
return config;
},