From d7399b083de823860a56b68c79f8e36603fb4ea3 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期一, 31 三月 2025 13:37:19 +0800 Subject: [PATCH] fix:获取渠道分佣分页列表 --- LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs b/LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs index 7bf8650..48a0385 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; @@ -200,10 +201,14 @@ return await _userRoleService.DeleteRole(id); } - //[HttpGet] - //public async Task<UserChannelOutput> GetUserChannel() - //{ - // return await _accountService.GetUserChannel(); - //} + /// <summary> + /// 鑾峰彇鐢ㄦ埛娓犻亾 + /// </summary> + /// <returns></returns> + [HttpGet] + public async Task<List<ChannelOutput>> GetUserChannel() + { + return await _accountService.GetUserChannel(); + } } } \ No newline at end of file -- Gitblit v1.9.1