/// <summary> /// 删除N天前的访客记录 /// </summary> /// <param name="beforeDays">间隔天数</param> public void Clean(int?beforeDays = null) { visitRepository.Clean(beforeDays); }