feat(ECR-026): OpsCMS ScheduledPublication 只读并 Closed
定时发布目录(ops_scheduled_publications),并加固 catalog 生成器。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"ecr": "038",
|
||||
"slug": "report-template",
|
||||
"concept": "ReportTemplate",
|
||||
"list_method": "ReportTemplates",
|
||||
"get_method": "ReportTemplate",
|
||||
"table": "report_templates",
|
||||
"migration": "000039",
|
||||
"route_group": "/growth",
|
||||
"route_resource": "report-templates",
|
||||
"perm_const": "PermGrowthRead",
|
||||
"perm_code": "admin.growth.read",
|
||||
"new_perm": true,
|
||||
"seed_code": "portrait_default",
|
||||
"register_fn": "registerReportTemplates",
|
||||
"test_name": "TestGrowthReportTemplates",
|
||||
"row_type": "ReportTemplateRow",
|
||||
"err_name": "ErrReportTemplateNotFound",
|
||||
"capability": "GrowthInsights",
|
||||
"bc": "Explore_Reports",
|
||||
"predecessor": "ECR-037",
|
||||
"title": "GrowthInsights · ReportTemplate(只读薄切片)",
|
||||
"non_goals": "模板写发布 · 广告投放 · UGC · 真支付",
|
||||
"columns": [
|
||||
{
|
||||
"name": "code",
|
||||
"sql": "varchar(64) NOT NULL UNIQUE",
|
||||
"go_name": "Code",
|
||||
"go_type": "string",
|
||||
"json": "code",
|
||||
"seed": "portrait_default"
|
||||
},
|
||||
{
|
||||
"name": "title",
|
||||
"sql": "varchar(128) NOT NULL",
|
||||
"go_name": "Title",
|
||||
"go_type": "string",
|
||||
"json": "title",
|
||||
"seed": "画像报告模板占位"
|
||||
},
|
||||
{
|
||||
"name": "scene",
|
||||
"sql": "varchar(32) NOT NULL",
|
||||
"go_name": "Scene",
|
||||
"go_type": "string",
|
||||
"json": "scene",
|
||||
"seed": "portrait"
|
||||
},
|
||||
{
|
||||
"name": "active",
|
||||
"sql": "boolean NOT NULL DEFAULT true",
|
||||
"go_name": "Active",
|
||||
"go_type": "bool",
|
||||
"json": "active",
|
||||
"seed": true
|
||||
},
|
||||
{
|
||||
"name": "system",
|
||||
"sql": "boolean NOT NULL DEFAULT false",
|
||||
"go_name": "System",
|
||||
"go_type": "bool",
|
||||
"json": "system",
|
||||
"seed": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user