From 5bc4a0340f55124ebe5b87e393f42d8e96d837b6 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 31 三月 2025 14:37:05 +0800 Subject: [PATCH] fix: 调整ChannelOutput --- 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