lingling
2025-03-14 6b5c0022a6fdf5c3026650d231530ff6b32a72b4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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
 
        /// <summary>
        /// life pay手机验证码登录
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        /// <exception cref="UserFriendlyException"></exception>
        [HttpPost]
        [AllowAnonymous]
        [ChannelFilter]
        public async Task<Guid> LifePayPhoneMesssageCodeLogin(LifePayPhoneMesssageCodeLoginInput input)
        {
            return await _accountService.LifePayPhoneMesssageCodeLogin(input);
        }
 
 
        #endregion
 
 
    }
}