From dc46a242306048ac558c287cdf8d421399cb4fdd Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期二, 21 三月 2023 11:11:39 +0800 Subject: [PATCH] code码调整 --- api/index.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/api/index.js b/api/index.js index 540f8bb..87ad6ff 100644 --- a/api/index.js +++ b/api/index.js @@ -45,6 +45,7 @@ opt.header = typeObj['headerPOST']; } else if (urlType == 'json') { opt.header = typeObj['jsonPOST']; + opt.data = params; } else { opt.data = params; opt.header = typeObj['headerPOST']; -- Gitblit v1.9.1