feat: 合并Gin_Vue

This commit is contained in:
TsMask
2023-10-16 17:10:38 +08:00
parent 5289818fd4
commit 40a32cb67f
203 changed files with 19719 additions and 178 deletions

View File

@@ -0,0 +1,15 @@
package model
// SysRoleDept 角色和部门关联对象 sys_role_dept
type SysRoleDept struct {
RoleID string `json:"roleId"` // 角色ID
DeptID string `json:"deptId"` // 部门ID
}
// NewSysRoleDept 创建角色和部门关联对象的构造函数
func NewSysRoleDept(roleID string, deptID string) SysRoleDept {
return SysRoleDept{
RoleID: roleID,
DeptID: deptID,
}
}