From 2fb049ae2f0560c87b2e53fbdc5b588e64fa565e Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 01 四月 2025 11:11:43 +0800 Subject: [PATCH] fix: 修改GetBackClientUsers中的UserChannleDto --- LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs b/LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs index 2add6da..2be205b 100644 --- a/LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs +++ b/LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs @@ -3,6 +3,7 @@ using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; +using System.Collections.Generic; using System.Threading.Tasks; using Volo.Abp.AspNetCore.Mvc; using Volo.Abp.Identity; @@ -40,6 +41,8 @@ [HttpPost] public async Task<Guid> CreateBackClientUser(CreateBackClientUserInput input) { + + return await _accountService.CreateAccount(ObjectMapper.Map<CreateBackClientUserInput, CreateAccountInput>(input), isAdminCreate: true); } @@ -197,5 +200,15 @@ await _identityRoleService.DeleteAsync(id); return await _userRoleService.DeleteRole(id); } + + /// <summary> + /// 鑾峰彇鐢ㄦ埛璐﹀彿璇︽儏 + /// </summary> + /// <returns></returns> + [HttpGet] + public async Task<BackClientUserInfoOutput> GetBackClientUserInfo() + { + return await _accountService.GetBackClientUserInfo(); + } } } \ No newline at end of file -- Gitblit v1.9.1