From fd5705a460cd8ef559afd33860e148bb16b8616d Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期三, 26 三月 2025 15:18:35 +0800
Subject: [PATCH] fix;用户管理新增查询条件

---
 LifePayment/LifePayment.HttpApi/LifePay/AccountController.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/LifePayment/LifePayment.HttpApi/LifePay/AccountController.cs b/LifePayment/LifePayment.HttpApi/LifePay/AccountController.cs
index 804b358..5737e00 100644
--- a/LifePayment/LifePayment.HttpApi/LifePay/AccountController.cs
+++ b/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
 {
@@ -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
 
 

--
Gitblit v1.9.1