Files
shop-platform/docs/diy/RADEME.md

27 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 自定义页面
## 对应的组件存放到数据表中
表: lucky_diy_view_util
```sql
create table if not exists lucky_diy_view_util
(
id int auto_increment
primary key,
name varchar(50) default '' not null comment '标识',
title varchar(50) default '' not null comment '组件名称',
type varchar(50) default 'SYSTEM' not null comment '组件类型',
value text null comment '配置:json格式',
addon_name varchar(50) default '' not null comment '插件标识',
sort int default 0 not null comment '排序号',
support_diy_view varchar(500) default '' not null comment '支持的自定义页面(为空表示公共组件都支持)',
max_count int default 0 not null comment '限制添加次数',
is_delete int default 0 not null comment '是否可以删除0 允许1 禁用',
icon varchar(255) default '' not null comment '组件图标',
icon_type int default 0 not null comment '0图片1图标',
constraint name
unique (name)
)
```