扫码登录,获取cookies

This commit is contained in:
2026-03-09 16:10:29 +08:00
parent 754e720ba7
commit 8229208165
7775 changed files with 1150053 additions and 208 deletions

24
test_auth_service.bat Normal file
View File

@@ -0,0 +1,24 @@
@echo off
chcp 65001 >nul
echo 测试启动 Auth Service...
echo.
cd backend
if exist venv\Scripts\activate.bat (
call venv\Scripts\activate.bat
) else (
echo 虚拟环境不存在,正在创建...
python -m venv venv
call venv\Scripts\activate.bat
pip install -r requirements.txt
)
echo.
echo 设置环境变量...
set PYTHONPATH=%CD%
echo.
echo 启动 Auth Service (端口 8001)...
python -m uvicorn auth_service.app.main:app --host 0.0.0.0 --port 8001 --reload
pause