/// <summary> /// 检查用户的Token有效性 /// </summary> /// <returns></returns> protected CheckResult ValidateToken(string token) { try { AuthApi authApi = new AuthApi(); CheckResult checkResult = authApi.ValidateToken(token); return(checkResult); } catch (Exception) { // ignored } return(null); }