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); } }