You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Magic.Core.Service;
|
|
|
|
|
|
|
|
|
|
public interface ISysMenuService
|
|
|
|
|
{
|
|
|
|
|
Task AddMenu(AddMenuInput input);
|
|
|
|
|
Task<List<AntDesignTreeNode>> ChangeAppMenu(ChangeAppMenuInput input);
|
|
|
|
|
Task DeleteMenu(DeleteMenuInput input);
|
|
|
|
|
Task<List<AntDesignTreeNode>> GetLoginMenusAntDesign(long userId, string appCode);
|
|
|
|
|
Task<List<string>> GetLoginPermissionList(long userId);
|
|
|
|
|
Task<dynamic> GetMenu(QueryMenuInput input);
|
|
|
|
|
Task<dynamic> GetMenuList([FromQuery] MenuInput input);
|
|
|
|
|
Task<dynamic> GetMenuTree([FromQuery] MenuInput input);
|
|
|
|
|
Task<List<string>> GetUserMenuAppCodeList(long userId);
|
|
|
|
|
Task<bool> HasMenu(string appCode);
|
|
|
|
|
Task<dynamic> TreeForGrant([FromQuery] MenuInput input);
|
|
|
|
|
Task UpdateMenu(UpdateMenuInput input);
|
|
|
|
|
Task<List<string>> GetAllPermission();
|
|
|
|
|
}
|