修改jscode错误提示

development
温天培 2 years ago
parent f2d16ceb65
commit 615e8e46e3

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

Loading…
Cancel
Save