Files
tnb.server/system/Tnb.Systems.Interfaces/System/IModuleService.cs
2023-03-13 15:00:34 +08:00

46 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using JNPF.Systems.Entitys.Dto.Module;
using JNPF.Systems.Entitys.System;
namespace JNPF.Systems.Interfaces.System;
/// <summary>
/// 菜单管理
/// 版 本V3.2
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2021-06-01.
/// </summary>
public interface IModuleService
{
/// <summary>
/// 列表.
/// </summary>
/// <returns></returns>
Task<List<ModuleEntity>> GetList(string systemId);
/// <summary>
/// 信息.
/// </summary>
/// <param name="id">主键值.</param>
/// <returns></returns>
Task<ModuleEntity> GetInfo(string id);
/// <summary>
/// 获取用户菜单树.
/// </summary>
/// <param name="type">登录类型.</param>
/// <returns></returns>
Task<List<ModuleNodeOutput>> GetUserTreeModuleList(string type);
/// <summary>
/// 获取用户树形模块功能列表根据 SystemId.
/// </summary>
/// <param name="type">登录类型.</param>
/// <param name="systemId">SystemId.</param>
Task<List<ModuleNodeOutput>> GetUserTreeModuleListBySystemId(string type, string systemId);
/// <summary>
/// 获取用户菜单列表.
/// </summary>
/// <param name="type">登录类型.</param>
Task<dynamic> GetUserModueList(string type);
}