Browse Source

Merge remote-tracking branch 'origin/master'

master
huangjiajun 2 days ago
parent
commit
2c0f7c930d
2 changed files with 0 additions and 5 deletions
  1. +0
    -1
      src/model/permission_group.go
  2. +0
    -4
      src/model/role.go

+ 0
- 1
src/model/permission_group.go View File

@@ -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)"`
}

+ 0
- 4
src/model/role.go View File

@@ -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)"`
}

Loading…
Cancel
Save