chore:2.0.4

This commit is contained in:
曾文豪
2025-01-03 21:06:18 +08:00
parent 35782f5ec1
commit 135f482729
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ const dealParamsBody = (options) => {
if (options.method === "GET") {
options.params = {...options.params, ...extraParams};
} else {
if (options.requestType === 'json') {
if (options.requestType !== 'form') {
options.data = {...options.data, ...extraParams};
options.data = {
'encryptData': crypto.encrypt(JSON.stringify(options.data))