From 5b36142869f824399ab1ad1f0eaaea8ecf0ca83d Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期五, 17 三月 2023 19:01:35 +0800 Subject: [PATCH] 细节修改 --- 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