Ejemplo n.º 1
0
 /// <summary>
 /// 删除某个用户的菜单文件
 /// </summary>
 /// <param name="language"></param>
 /// <param name="markedCode"></param>
 /// <param name="isLocal"></param>
 /// <returns></returns>
 public static void RemoveMenuCode(string userId)
 {
     MenuLocal.RemoveMenuCode(userId);
     MenuRemote.RemoveMenuCode(userId);
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="markedCode">菜单识别码</param>
 /// <param name="isLocal">是否为本地菜单</param>
 /// <returns></returns>
 public static string GetMenuCode(string language, string markedCode, bool isLocal)
 {
     return(isLocal ? MenuLocal.GetMenuCode(language, markedCode) : MenuRemote.GetMenuCode(language, markedCode));
 }