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; @@ -199,5 +200,15 @@ await _identityRoleService.DeleteAsync(id); return await _userRoleService.DeleteRole(id); } /// <summary> /// 获取用户渠道 /// </summary> /// <returns></returns> [HttpGet] public async Task<List<ChannelOutput>> GetUserChannel() { return await _accountService.GetUserChannel(); } } }