回退 'Pull Request !48 : 加密的数据原始上传'

This commit is contained in:
玲娜贝er 2025-08-11 06:30:24 +00:00 committed by Gitee
parent 1912b49c21
commit 651ea1dfa6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -129,7 +129,6 @@ 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;
},