调整xorm层级

This commit is contained in:
2023-01-18 16:00:50 +08:00
parent 0f8c1f989b
commit a89c86023e
67 changed files with 500 additions and 460 deletions
+11
View File
@@ -0,0 +1,11 @@
package dataobject
// SysRoleMenu 角色菜单数据结构
type SysRoleMenu struct {
RoleId int64 `xorm:"pk" json:"roleId"` // 角色id
MenuId int64 `xorm:"pk" json:"menuId"` // 菜单id
}
func (SysRoleMenu) TableName() string {
return "sys_role_menu"
}