/// <summary> /// 清空日志 /// </summary> /// <param name="categoryId">日志分类Id</param> /// <param name="keepTime">保留时间段内</param> public static void RemoveLog(int categoryId, string keepTime) { try { service.RemoveLog(categoryId, keepTime); } catch (Exception) { throw; } }