17 lines
413 B
C#
17 lines
413 B
C#
using System.Collections.Generic;
|
|
using RIZO.Server.Models;
|
|
|
|
namespace RIZO.Server.IService
|
|
{
|
|
public interface IMenuService : IServiceBase
|
|
{
|
|
List<MenuInfo> GetMenusByUserId(int roleId);
|
|
// 角色编辑的时候用到
|
|
List<MenuInfo> GetMenusByRoleId(int roleId);
|
|
List<MenuInfo> GetAllMenus();
|
|
|
|
// 包含新增和修改
|
|
void SaveMenu(string data);
|
|
}
|
|
}
|