refactor🎨:更新角色模块
This commit is contained in:
1 parent
13f09d6059
commit
5afe67bd1b
8 files changed
+286
-270
No files matched your search
@@ -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"
|
||||
//}
|
||||
Reference in new issue
Block a user