完成shell改造

This commit is contained in:
2024-04-09 12:16:19 +08:00
parent 4d9e3addde
commit c9e77022b1
3 changed files with 10 additions and 178 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
SPARK_CORE_SERVER_URL="https://d.store.deepinos.org.cn"
#用法sender.sh 下载链接 HD70642
@@ -44,7 +45,7 @@ fi
echo $STORE_URL/$APP_LOCATION
curl -X POST -H "Content-Type: application/json" -d '{"path": "'"${STORE_URL}/${APP_LOCATION}"'"}' http://zunyun01.store.deepinos.org.cn:38324/handle_post
curl -X POST -H "Content-Type: application/json" -d '{"path": "'"${STORE_URL}/${APP_LOCATION}"'"}' ${SPARK_CORE_SERVER_URL}/handle_post