diff --git a/base/data_list.go b/base/data_list.go index 41ca415..33b83b7 100644 --- a/base/data_list.go +++ b/base/data_list.go @@ -50,6 +50,7 @@ type DataList struct { Roles []string `db:"roles"` // 列表权限 IsAuthDB int `db:"is_auth_db"` // 启用权限过滤 LayoutConfig map[string]any `db:"layoutConfig"` // 列表布局配置 + Platform string `db:"platform"` UpdatedAt string `db:"updated_at"` CreatedAt string `db:"created_at"` } diff --git a/base/grid_layout.go b/base/grid_layout.go index b576da5..5bb4aca 100644 --- a/base/grid_layout.go +++ b/base/grid_layout.go @@ -13,6 +13,7 @@ type GridLayout struct { RowHeight float32 `db:"rowHeight"` // 栅格行高 Css map[string]any `db:"css"` // 布局CSS Props []any `db:"props"` // 布局PROPS + Platform string `db:"platform"` Roles []string `db:"roles"` UpdatedAt string `db:"updated_at"` CreatedAt string `db:"created_at"` diff --git a/base/grid_layout_form.go b/base/grid_layout_form.go index dc6a6f4..d874a87 100644 --- a/base/grid_layout_form.go +++ b/base/grid_layout_form.go @@ -15,6 +15,7 @@ type GridLayoutForm struct { FormProps []map[string]string `db:"formProps"` // 表单PROPS ListenChangeFields []string `db:"listenChangeFields"` // 监听字段 ListenChangeFieldsFunc string `db:"listenChangeFieldsFunc"` // 监听字段回调方法 + Platform string `db:"platform"` Roles []string `db:"roles"` UpdatedAt string `db:"updated_at"` CreatedAt string `db:"created_at"`