修复更新状态参数类型

This commit is contained in:
hanhh
2021-06-13 18:45:05 +08:00
parent a53f788886
commit 95221e2b1d
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -168,9 +168,9 @@ update_cron_status() {
code=$(echo $api | jq -r .code)
message=$(echo $api | jq -r .message)
if [[ $code == 200 ]]; then
echo -e "成功"
echo -e "更新任务状态成功"
else
echo -e "失败(${message})"
echo -e "更新任务状态失败(${message})"
fi
}