diff --git a/src/modules/org/services/user.service.ts b/src/modules/org/services/user.service.ts index 5548be4..6abdab9 100644 --- a/src/modules/org/services/user.service.ts +++ b/src/modules/org/services/user.service.ts @@ -11,6 +11,7 @@ import { PaginateReturn, QueryHook } from '@/modules/database/types'; import { DictionaryType, PublicOrderType } from '@/modules/system/constants'; import { QueryDictionaryDto } from '@/modules/system/dtos'; +import { MenuRepository } from '@/modules/system/repositories'; import { DictionaryService } from '@/modules/system/services'; import { CreateUserDto, LoginUserDto, QueryUserDto, UpdateUserDto, UserEchoDto } from '../dtos'; @@ -32,6 +33,7 @@ type FindParams = { export class UserService extends BaseService { constructor( protected repository: UserRepository, + protected menuRepository: MenuRepository, protected dictionaryService: DictionaryService, protected roleAuthorityService: RoleAuthorityService, ) { @@ -124,124 +126,7 @@ export class UserService extends BaseService