feat: generate permission sql for stocktake modules and implement single-device login restriction
This commit is contained in:
@ -43,4 +43,9 @@ class Config:
|
||||
# 上传文件存储路径
|
||||
UPLOAD_FOLDER = os.path.join(BASE_DIR, 'uploads')
|
||||
# 限制最大上传 16MB
|
||||
MAX_CONTENT_LENGTH = 16 * 1024 * 1024
|
||||
MAX_CONTENT_LENGTH = 16 * 1024 * 1024
|
||||
|
||||
# =========================================================
|
||||
# 5. Redis 配置 (用于单设备登录互踢)
|
||||
# =========================================================
|
||||
REDIS_URL = os.getenv('REDIS_URL', 'redis://localhost:6379/0')
|
||||
Reference in New Issue
Block a user