优化菜单加载

This commit is contained in:
hero920103 committed 2025-11-04 10:08:50 +08:00
1 parent ca1d265e34
commit 34035fb007
13 files changed
+351 -35

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ type User struct {
Role int `orm:"column(role);default(0)" json:"role"`
DeleteTime *time.Time `orm:"column(delete_time);null;type(datetime)" json:"delete_time"`
LastLoginTime *time.Time `orm:"column(last_login_time);null;type(datetime)" json:"last_login_time"`
LastLoginIp string `orm:"column(last_login_ip);null;size(50)" json:"last_login_ip"`
}
// TableName 设置表名,默认为yz_users