using LifePayment.Application.Contracts;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.WebClientInfo;
namespace LifePayment.HttpApi
{
[Route("api/[controller]/[action]")]
[ApiController]
public class AccountController : AbpController
{
private readonly IAccountService _accountService;
private readonly IWebClientInfoProvider _webClientInfoProvider;
public AccountController(
IAccountService accountService,
IWebClientInfoProvider webClientInfoProvider
)
{
_accountService = accountService;
_webClientInfoProvider = webClientInfoProvider;
}
#region life pay
///
/// life pay手机验证码登录
///
///
///
///
[HttpPost]
[AllowAnonymous]
[ChannelFilter]
public async Task LifePayPhoneMesssageCodeLogin(LifePayPhoneMesssageCodeLoginInput input)
{
return await _accountService.LifePayPhoneMesssageCodeLogin(input);
}
#endregion
}
}