修正git管理关系

This commit is contained in:
dxc
2026-01-26 13:47:53 +08:00
commit ee9f4aed3e
49 changed files with 2761 additions and 0 deletions

View File

@ -0,0 +1,14 @@
import os
class Config:
# 数据库连接配置
# 请务必将 '你的密码' 替换为你 PostgreSQL 的真实密码
# 如果数据库不在本地,请将 localhost 替换为 IP 地址
SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:1234@localhost:5432/inventory_system'
# 关闭 SQLAlchemy 的事件追踪,减少内存消耗
SQLALCHEMY_TRACK_MODIFICATIONS = False
# Flask 的密钥,用于 Session 加密等,开发环境随便写一个即可
SECRET_KEY = 'dev-secret-key-1234'