- 表名统一 dda_ 前缀(dda_approvals/dda_approval_configs),跨应用复用防冲突 - 解耦关键改动:原回调硬编码 biz_type=='content_publish' + 写 cms_content 表, 改为 register_biz_handler(biz_type, handler) 钩子分派,模块内零业务表引用 - 含 models(四段式)/json(CRUD)/9个dspy端点/load_path(any回调+9 logined)/i18n四语言 - README 覆盖凭据配置、审批模板配置、回调地址、审批节点接法(产线步骤)
19 lines
435 B
TOML
19 lines
435 B
TOML
[build-system]
|
|
requires = ["setuptools>=45", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "dingdingflow"
|
|
version = "1.0.0"
|
|
description = "钉钉审批工作流模块 - 发起/查询/回调,业务动作由宿主按 biz_type 注册钩子"
|
|
requires-python = ">=3.8"
|
|
dependencies = [
|
|
"sqlor",
|
|
"bricks_for_python",
|
|
"requests",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["dingdingflow*"]
|