refactor🎨:更新角色模块

This commit is contained in:
wenjianzhang
2021-06-15 19:03:37 +08:00
parent 13f09d6059
commit 5afe67bd1b
8 changed files with 286 additions and 270 deletions
+8 -8
View File
@@ -1,11 +1,11 @@
package models
//sys_role_dept
type SysRoleDept struct {
RoleId int `gorm:"size:11;primaryKey"`
DeptId int `gorm:"size:11;primaryKey"`
}
func (SysRoleDept) TableName() string {
return "sys_role_dept"
}
//type SysRoleDept struct {
// RoleId int `gorm:"size:11;primaryKey"`
// DeptId int `gorm:"size:11;primaryKey"`
//}
//
//func (SysRoleDept) TableName() string {
// return "sys_role_dept"
//}