From b706bcca7cfb3a58635e7a9e1c88b38ee4c98178 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Mon, 9 Dec 2024 17:45:30 +0800 Subject: [PATCH] update role --- src/model/permission_group.go | 1 - src/model/role.go | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/model/permission_group.go b/src/model/permission_group.go index 50d7750..ac927e3 100644 --- a/src/model/permission_group.go +++ b/src/model/permission_group.go @@ -8,5 +8,4 @@ type PermissionGroup struct { State int `json:"state" xorm:"not null default 1 comment('状态(1:正常 2:废弃)') TINYINT(1)"` CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"` UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"` - Sort int `json:"sort" xorm:"not null default 0 comment('') INT(11)"` } diff --git a/src/model/role.go b/src/model/role.go index 97afd48..4b46b20 100644 --- a/src/model/role.go +++ b/src/model/role.go @@ -7,8 +7,4 @@ type Role struct { Memo string `json:"memo" xorm:"not null default '' comment('备注') VARCHAR(255)"` CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"` UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"` - Logo string `json:"logo" xorm:"not null default '' VARCHAR(255)"` - Label string `json:"label" xorm:"not null default '' VARCHAR(255)"` - SeoLogo string `json:"seo_logo" xorm:"not null default '' VARCHAR(255)"` - SeoTitle string `json:"seo_title" xorm:"not null default '' VARCHAR(255)"` }