zhengyuxuan
2025-03-31 65beca31c74c6313519ba51ac2a3302659172eab
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();
        }
    }
}