diff --git a/.gitea/workflows/deploy-test.yml b/.gitea/workflows/deploy-test.yml index f8e227c..8a9f7b8 100644 --- a/.gitea/workflows/deploy-test.yml +++ b/.gitea/workflows/deploy-test.yml @@ -170,7 +170,7 @@ jobs: echo "===== 验证码链路检查(本地平台 TestEnv 站点) =====" COK=0 for i in $(seq 1 6); do - CCODE=$(curl -s -m 8 -o /dev/null -w "%{http_code}" -X POST http://127.0.0.1/tac/api/challenge/generate -H 'X-Site-Key: 6a062b70-c0b3-428e-8f1b-cca402e67ddd' -H 'Content-Type: application/json' -d '{"captchaType":"ROTATE"}' || true) + CCODE=$(curl -s -m 8 -o /dev/null -w "%{http_code}" -X POST http://127.0.0.1/tac/api/challenge/generate -H "X-Site-Key: 6a062b70-c0b3-428e-8f1b-cca402e67ddd" -H "Content-Type: application/json" -d "{\"captchaType\":\"ROTATE\"}" || true) [ "$CCODE" = "200" ] && COK=1 && break sleep 3 done