From 615e8e46e36a4844e515b680528b3259eeb392c7 Mon Sep 17 00:00:00 2001 From: wtp <1813748440@qq.com> Date: Tue, 31 Jan 2023 10:43:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9jscode=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GDZZ.Core/OAuth/TokenModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GDZZ.Core/OAuth/TokenModel.cs b/GDZZ.Core/OAuth/TokenModel.cs index 1a89b46..925484c 100644 --- a/GDZZ.Core/OAuth/TokenModel.cs +++ b/GDZZ.Core/OAuth/TokenModel.cs @@ -84,6 +84,6 @@ public static class AccessTokenModelModelExtensions /// public static bool HasError(this TokenModel accessTokenModel) { - return accessTokenModel == null || string.IsNullOrEmpty(accessTokenModel.Errmsg); + return accessTokenModel == null || !string.IsNullOrEmpty(accessTokenModel.Errmsg); } }