diff --git a/shell/api.sh b/shell/api.sh index 2c2384c2..c58242b8 100755 --- a/shell/api.sh +++ b/shell/api.sh @@ -173,3 +173,5 @@ update_cron_status() { echo -e "失败(${message})" fi } + +get_token \ No newline at end of file diff --git a/shell/update.sh b/shell/update.sh index 21fac8b9..70e0bddd 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -7,8 +7,6 @@ dir_shell=/ql/shell send_mark=$dir_shell/send_mark -get_token - ## 重置仓库remote url,docker专用,$1:要重置的目录,$2:要重置为的网址 reset_romote_url() { local dir_current=$(pwd)