Files
pickling-mes/backend/.env.example
wangyu 193da0018f feat: 移除PDI和订单号字段,新增设备巡检模块
- 从物料跟踪页面移除订单号列和表单字段
- 从导航菜单移除PDI管理,添加设备巡检
- 新增InspectionLocation和InspectionRecord后端模型和API
- 新增设备巡检前端页面(左侧点位列表,右侧设备和历史记录)
2026-05-27 16:38:40 +08:00

24 lines
548 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 数据库配置
DATABASE_URL=postgresql+asyncpg://postgres:password@localhost:5432/pickling_mes
DATABASE_SYNC_URL=postgresql://postgres:password@localhost:5432/pickling_mes
# Redis配置
REDIS_URL=redis://localhost:6379/0
# JWT配置
SECRET_KEY=your-secret-key-change-in-production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=480
# 服务配置
APP_HOST=0.0.0.0
APP_PORT=8000
DEBUG=true
# L1报文接收配置UDP本机监听
L1_HOST=0.0.0.0
L1_PORT=9000
# 跨域配置
CORS_ORIGINS=["http://localhost:8080","http://127.0.0.1:8080"]