feat(shop-role): 实现店铺角色继承功能和权限检查优化
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 6m39s

- 新增店铺角色管理 API 和数据模型
- 实现角色继承和权限检查逻辑
- 添加流程测试框架和集成测试
- 更新权限服务和账号管理逻辑
- 添加数据库迁移脚本
- 归档 OpenSpec 变更文档

Ultraworked with Sisyphus
This commit is contained in:
2026-02-03 10:06:13 +08:00
parent bc7e5d6f6d
commit 5a90caa619
61 changed files with 21284 additions and 131 deletions

30
flow_tests/pytest.ini Normal file
View File

@@ -0,0 +1,30 @@
[pytest]
# 测试目录
testpaths = tests
# Python 文件匹配
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# 默认参数
addopts =
-v
--tb=short
--strict-markers
# 标记定义
markers =
slow: 标记为慢速测试
mock: 需要 Mock 服务的测试
integration: 集成测试(需要完整环境)
smoke: 冒烟测试
# 日志配置
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)s] %(message)s
log_cli_date_format = %H:%M:%S
# 超时设置(需要 pytest-timeout 插件)
# timeout = 60