feat: 优化文案模板分组与复制预览

This commit is contained in:
王鹏
2026-09-07 15:40:29 +08:00
parent 074bbda460
commit a466caa793
6 changed files with 474 additions and 15 deletions

View File

@@ -5,6 +5,7 @@ DROP TABLE IF EXISTS tt_copy_template;
CREATE TABLE tt_copy_template (
template_id BIGINT NOT NULL AUTO_INCREMENT COMMENT '模板ID',
template_name VARCHAR(100) NOT NULL COMMENT '按钮显示名称',
template_group VARCHAR(100) NOT NULL DEFAULT '默认分组' COMMENT '模板分组',
template_body LONGTEXT NOT NULL COMMENT '文案模板内容,支持 {变量} 占位符',
sort_num INT DEFAULT 0 COMMENT '排序号',
status CHAR(1) DEFAULT '0' COMMENT '状态(0正常 1停用)',