add: multi-tenant

This commit is contained in:
2024-06-07 10:09:25 +08:00
parent 82420a8445
commit 409e1afc9f
6 changed files with 77 additions and 40 deletions

View File

@@ -3,7 +3,7 @@ package model
// SysRoleDept 角色和部门关联对象 sys_role_dept
type SysRoleTenant struct {
RoleID string `json:"roleId"` // 角色ID
TenantID string `json:"TenantID"` // 部门ID
TenantID string `json:"tenantID"` // 部门ID
}
// NewSysRoleDept 创建角色和部门关联对象的构造函数