|
|
@ -84,6 +84,6 @@ public static class AccessTokenModelModelExtensions
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
public static bool HasError(this TokenModel accessTokenModel)
|
|
|
|
public static bool HasError(this TokenModel accessTokenModel)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return accessTokenModel == null || string.IsNullOrEmpty(accessTokenModel.Errmsg);
|
|
|
|
return accessTokenModel == null || !string.IsNullOrEmpty(accessTokenModel.Errmsg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|