feat: 完成测试框架搭建

This commit is contained in:
陈淳
2024-01-19 17:45:11 +08:00
parent d604e9c3f3
commit 7e895403a9
10 changed files with 288 additions and 9 deletions

View File

@@ -1,9 +1,11 @@
using Yi.Framework.Rbac.Domain.Shared.Dtos;
using Yi.Framework.Rbac.Application.Contracts.Dtos.Account;
using Yi.Framework.Rbac.Domain.Shared.Dtos;
namespace Yi.Framework.Rbac.Application.Contracts.IServices
{
public interface IAccountService
{
Task<UserRoleMenuDto> Get();
Task<object> PostLoginAsync(LoginInputVo input);
}
}

View File

@@ -21,7 +21,7 @@ namespace Yi.Framework.Rbac.Application.Services.System
/// <summary>
/// User服务实现
/// </summary>
public class UserService : YiCrudAppService<UserEntity, UserGetOutputDto, UserGetListOutputDto, Guid, UserGetListInputVo, UserCreateInputVo, UserUpdateInputVo>
public class UserService : YiCrudAppService<UserEntity, UserGetOutputDto, UserGetListOutputDto, Guid, UserGetListInputVo, UserCreateInputVo, UserUpdateInputVo>,IUserService
//IUserService
{
public UserService(ISqlSugarRepository<UserEntity, Guid> repository, UserManager userManager, IUserRepository userRepository, ICurrentUser currentUser, IDeptService deptService, ILocalEventBus localEventBus) : base(repository)