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 }