You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
855 B
30 lines
855 B
1 year ago
|
using BaseService.Controllers;
|
||
|
using BaseService.Systems.UserRoleMenusManagement;
|
||
|
using BaseService.Systems.UserRoleMenusManagement.Dto;
|
||
|
using Microsoft.AspNetCore.Mvc;
|
||
|
using System.Threading.Tasks;
|
||
|
using Volo.Abp;
|
||
|
|
||
|
namespace BaseService.HttpApi.Systems
|
||
|
{
|
||
|
[RemoteService]
|
||
|
[Area("base")]
|
||
|
[Route("api/base/user-menus")]
|
||
|
public class UserMenusController : BaseServiceController, IUserMenusAppService
|
||
|
{
|
||
|
private readonly IUserMenusAppService _userMenusAppService;
|
||
|
|
||
|
public UserMenusController(IUserMenusAppService userMenusAppService)
|
||
|
{
|
||
|
_userMenusAppService = userMenusAppService;
|
||
|
}
|
||
|
|
||
|
[HttpGet]
|
||
|
[Route("permissions")]
|
||
|
public Task<UserMenuPermissionsDto> GetUserMenuPermission()
|
||
|
{
|
||
|
return _userMenusAppService.GetUserMenuPermission();
|
||
|
}
|
||
|
}
|
||
|
}
|