zhengyuxuan
2025-03-27 f9bc1d677008142990cdef0b824700a4bcb72a71
LifePayment/LifePayment.HttpApi/LifePay/AccountController.cs
@@ -9,6 +9,8 @@
using Volo.Abp;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.WebClientInfo;
using Volo.Abp.Identity.Application.Contracts.Account;
using Volo.Abp.IdentityModel;
namespace LifePayment.HttpApi
{
@@ -58,7 +60,7 @@
        [HttpPost]
        [AllowAnonymous]
        [ChannelFilter]
        public async Task<Guid> LifePayPhoneMesssageCodeLogin(LifePayPhoneMesssageCodeLoginInput input)
        public async Task<LifePayPhoneMesssageCodeLoginOutput> LifePayPhoneMesssageCodeLogin(LifePayPhoneMesssageCodeLoginInput input)
        {
            return await _accountService.LifePayPhoneMesssageCodeLogin(input);
        }
@@ -69,6 +71,13 @@
            OssSTSHelper ossSTSHelper = new OssSTSHelper(this.ossSettings);
            return ossSTSHelper.GetOssSTS();
        }
        [HttpPost]
        public async Task<IdentityModelTokenCacheItem> GetTokenForWeb(AccessRequestDto accessRequestDto)
        {
            var webClientIp = _webClientInfoProvider.ClientIpAddress;
            return await _accountService.GetTokenForWeb(accessRequestDto, webClientIp);
        }
        #endregion