entcms模块: - 4个数据表(cms_content/cms_categories/cms_leads/cms_site_config) - 22个.dspy API(含公开API和data_filter) - 4个公开页面(首页/新闻/案例)+管理后台 - 完整营销站点CSS/JS(暗色主题/渐变/动画/响应式) - 云宝SVG线稿占位符 - RBAC权限配置 dingdingflow模块: - 2个数据表(dd_approvals/dd_approval_configs) - 10个.dspy API(含钉钉回调endpoint) - 钉钉API客户端(环境变量配置,开发模式mock) - 管理UI 文档: 架构设计/53条测试用例/开发日志
137 lines
3.1 KiB
JSON
137 lines
3.1 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "cms_leads",
|
|
"title": "商机线索表",
|
|
"primary": [
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "主键ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "org_id",
|
|
"title": "组织ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"default": "0"
|
|
},
|
|
{
|
|
"name": "source",
|
|
"title": "来源(website/phone/referral/ai_extract)",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "name",
|
|
"title": "联系人姓名",
|
|
"type": "str",
|
|
"length": 100
|
|
},
|
|
{
|
|
"name": "company",
|
|
"title": "公司名称",
|
|
"type": "str",
|
|
"length": 200
|
|
},
|
|
{
|
|
"name": "phone",
|
|
"title": "联系电话",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "email",
|
|
"title": "邮箱",
|
|
"type": "str",
|
|
"length": 100
|
|
},
|
|
{
|
|
"name": "industry",
|
|
"title": "所属行业",
|
|
"type": "str",
|
|
"length": 100
|
|
},
|
|
{
|
|
"name": "region",
|
|
"title": "地区",
|
|
"type": "str",
|
|
"length": 100
|
|
},
|
|
{
|
|
"name": "interest_products",
|
|
"title": "感兴趣的产品",
|
|
"type": "str",
|
|
"length": 500
|
|
},
|
|
{
|
|
"name": "message",
|
|
"title": "留言内容",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "raw_text",
|
|
"title": "原始文本(AI抽取用)",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"title": "状态(new/contacted/qualified/converted/closed)",
|
|
"type": "str",
|
|
"length": 32,
|
|
"default": "new"
|
|
},
|
|
{
|
|
"name": "assigned_to",
|
|
"title": "负责人",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "notes",
|
|
"title": "跟进备注",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "创建时间",
|
|
"type": "timestamp"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "更新时间",
|
|
"type": "timestamp"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx_leads_org_status",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"org_id",
|
|
"status"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_leads_source",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"source"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_leads_assigned",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"assigned_to"
|
|
]
|
|
}
|
|
]
|
|
} |