From 7acd40c28d26743b4caf8f0e094e96e8b8b4ce4a Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 11 Oct 2020 04:21:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0openresty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/updateRisk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/updateRisk b/shell/updateRisk index 76468de..4563e2f 100644 --- a/shell/updateRisk +++ b/shell/updateRisk @@ -30,9 +30,9 @@ function run(){ if [ $isUpdate -eq 1 ] then - url="http://127.0.0.1:3000/finsh?name=$1" + url="http://127.0.0.1:3000/finsh" echo "成功回调地址:$url" - curl $url + curl -X POST -d "name=$1" $url fi }