From 65beca31c74c6313519ba51ac2a3302659172eab Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期一, 31 三月 2025 10:40:04 +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