From b9c624fd7e6274cb7b201f4062144c8da1ad5c7c Mon Sep 17 00:00:00 2001 From: Hermes CI Fix Date: Fri, 28 Aug 2026 07:21:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=86=92=E7=83=9F=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=80=82=E9=85=8D=E8=B4=A6=E5=A5=97=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F(entity=5Fid=3D1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index d964cdc5..71d56425 100755 --- a/deploy.sh +++ b/deploy.sh @@ -80,7 +80,7 @@ else fi TOKEN=$(curl -s -X POST http://127.0.0.1:8010/api/cma/auth/login \ -H "Content-Type: application/json" \ - -d '{"username":"admin","password":"admin123"}' | python3 -c "import sys,json; print(json.load(sys.stdin).get('token',''))" 2>/dev/null) + -d '{"username":"admin","password":"admin123","entity_id":1}' | python3 -c "import sys,json; print(json.load(sys.stdin).get('token',''))" 2>/dev/null) if [ -n "$TOKEN" ]; then echo " ✅ 登录API通过" if curl -sf -H "Authorization: Bearer $TOKEN" http://127.0.0.1:8010/api/cma/kpis > /dev/null 2>&1; then