docs: 更新后端文档
- 更新 api/README.md - 更新 api/docs/本地开发环境配置.md - 更新 api/docs/测试脚本使用说明.md Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -37,8 +37,8 @@ SECRET_KEY=your-secret-key
|
||||
ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=120
|
||||
|
||||
# 数据库
|
||||
DATABASE_URL=sqlite+aiosqlite:///./life_echo.db
|
||||
# 数据库(使用 PostgreSQL,与线上一致)
|
||||
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/life_echo
|
||||
```
|
||||
|
||||
### 3. 启动服务器
|
||||
|
||||
Reference in New Issue
Block a user