权限设计思路(17)
发布时间:2021-06-07
发布时间:2021-06-07
public string ModuleNo
{
get { throw new NotImplementedException(); }
}
public string ModuleName
{
get { throw new NotImplementedException(); }
}
/// <summary>
/// 注册权限
/// </summary>
/// <param name="UserNo"></param>
/// <param name="ModuleNo"></param>
/// <returns></returns>
public string RegFunction(string UserNo, string ModuleNo)
{
throw new NotImplementedException();
}
/// <summary>
/// 运行模块
/// </summary>
public void Run()
{
throw new NotImplementedException();
}
}
2.3.1模块接口类
public interface IModuleManager
{
/// <summary>
/// 获得数据列表
/// </summary>
/// <param name="userInfo">操作人</param>
/// <returns>DataTable</returns>
DataTable GetDT(BaseUserInfoLog BaseUser);
/// <summary>
/// 获得实体
/// </summary>
/// <param name="BaseUser">操作人员</param>
/// <param name="ModuleNo">模块名称</param>