回退 'Pull Request !48 : 加密的数据原始上传'
This commit is contained in:
parent
1912b49c21
commit
651ea1dfa6
@ -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;
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user