[feat] 新增 platform 字段
This commit is contained in:
parent
cdb36bf427
commit
b4c13f60d2
@ -50,6 +50,7 @@ type DataList struct {
|
|||||||
Roles []string `db:"roles"` // 列表权限
|
Roles []string `db:"roles"` // 列表权限
|
||||||
IsAuthDB int `db:"is_auth_db"` // 启用权限过滤
|
IsAuthDB int `db:"is_auth_db"` // 启用权限过滤
|
||||||
LayoutConfig map[string]any `db:"layoutConfig"` // 列表布局配置
|
LayoutConfig map[string]any `db:"layoutConfig"` // 列表布局配置
|
||||||
|
Platform string `db:"platform"`
|
||||||
UpdatedAt string `db:"updated_at"`
|
UpdatedAt string `db:"updated_at"`
|
||||||
CreatedAt string `db:"created_at"`
|
CreatedAt string `db:"created_at"`
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ type GridLayout struct {
|
|||||||
RowHeight float32 `db:"rowHeight"` // 栅格行高
|
RowHeight float32 `db:"rowHeight"` // 栅格行高
|
||||||
Css map[string]any `db:"css"` // 布局CSS
|
Css map[string]any `db:"css"` // 布局CSS
|
||||||
Props []any `db:"props"` // 布局PROPS
|
Props []any `db:"props"` // 布局PROPS
|
||||||
|
Platform string `db:"platform"`
|
||||||
Roles []string `db:"roles"`
|
Roles []string `db:"roles"`
|
||||||
UpdatedAt string `db:"updated_at"`
|
UpdatedAt string `db:"updated_at"`
|
||||||
CreatedAt string `db:"created_at"`
|
CreatedAt string `db:"created_at"`
|
||||||
|
@ -15,6 +15,7 @@ type GridLayoutForm struct {
|
|||||||
FormProps []map[string]string `db:"formProps"` // 表单PROPS
|
FormProps []map[string]string `db:"formProps"` // 表单PROPS
|
||||||
ListenChangeFields []string `db:"listenChangeFields"` // 监听字段
|
ListenChangeFields []string `db:"listenChangeFields"` // 监听字段
|
||||||
ListenChangeFieldsFunc string `db:"listenChangeFieldsFunc"` // 监听字段回调方法
|
ListenChangeFieldsFunc string `db:"listenChangeFieldsFunc"` // 监听字段回调方法
|
||||||
|
Platform string `db:"platform"`
|
||||||
Roles []string `db:"roles"`
|
Roles []string `db:"roles"`
|
||||||
UpdatedAt string `db:"updated_at"`
|
UpdatedAt string `db:"updated_at"`
|
||||||
CreatedAt string `db:"created_at"`
|
CreatedAt string `db:"created_at"`
|
||||||
|
Loading…
Reference in New Issue
Block a user