using Furion.DynamicApiController;
using Nirvana.Common;
using System.Threading.Tasks;
namespace Waste.Application
{
///
/// 账户接口
///
public class AccountAppService: IDynamicApiController
{
private readonly IAccountService _accountService;
public AccountAppService(IAccountService accountService)
{
_accountService = accountService;
}
///
/// 用户登录
///
public async Task LoginAsync(LoginModel loginModel)
{
return await _accountService.LoginAsync(loginModel);
}
}
}