/// <summary> /// 验证登录状态 /// </summary> /// <param name="managerId"></param> /// <returns></returns> public static async Task <bool> CheckLoginAsync(int managerId) { try { return(await DalActivity.CheckLoginAsync(managerId)); } catch (Exception ex) { Logger.Error($"ManagerRegister", ex); throw ex; } }