From 4f9077798c13ad5861536c7e08a58701753c67e7 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 02:21:58 +0800 Subject: [PATCH] init --- shell/updateRisk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/updateRisk b/shell/updateRisk index 394593c..207ebaa 100644 --- a/shell/updateRisk +++ b/shell/updateRisk @@ -16,7 +16,9 @@ function run(){ git clone git@gogs.kirito.cool:panqihua/$1.git fi cd $1 && git reset --hard && git pull && yarn && chmod +x run.sh && killNode - curl http://127.0.0.1:3000/finsh?name=$1 + url="http://127.0.0.1:3000/finsh?name=$1" + echo "成功回调地址:$url" + curl $url } run $1