diff --git a/backend/services/identity-service/scripts/health-check.sh b/backend/services/identity-service/scripts/health-check.sh index 1fc5e9e1..03a55db3 100755 --- a/backend/services/identity-service/scripts/health-check.sh +++ b/backend/services/identity-service/scripts/health-check.sh @@ -54,7 +54,7 @@ check_service "Kafka" "nc -zv localhost 9092" "启动 Kafka (需要手动启动) # 检查应用服务 echo -e "${YELLOW}=== 应用服务 ===${NC}" -check_service "Identity Service" "curl -f http://localhost:3000/health" "npm run start:dev" +check_service "Identity Service" "curl -f http://localhost:3000/api/v1/health" "npm run start:dev" # 检查 Swagger 文档 echo -e "${YELLOW}=== API 文档 ===${NC}"