refactor🎨:调整管理员和字典相关结构体字段顺序
This commit is contained in:
1 parent
a0b7d9969a
commit
185df737c8
4 files changed
+6
-20
No files matched your search
@@ -1,12 +0,0 @@
|
||||
package models
|
||||
|
||||
type SysSetting struct {
|
||||
SettingsId int `json:"settings_id" gorm:"primary_key;AUTO_INCREMENT"`
|
||||
Name string `json:"name" gorm:"type:varchar(256);"`
|
||||
Logo string `json:"logo" gorm:"type:varchar(256);"`
|
||||
ModelTime
|
||||
}
|
||||
|
||||
func (SysSetting) TableName() string {
|
||||
return "sys_setting"
|
||||
}
|
||||
Reference in new issue
Block a user