示例#1
0
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public async Task <LoginUser> Authentication(EmployeeRequestDto input)
        {
            return(await _employeeDomainService.Login(input));

            //  return await Task.FromResult(new LoginUser()
            //  {
            //      IsSucceed = true,
            //      UserId = Guid.NewGuid().ToString(),
            //      Name = "admin",
            //      RoleType = RoleType.AdministratorRole
            //  });
            ////  return await _usersAppService.Login(input);
        }