From e71c57108e6dd407c2c6f0361f68150f2ff9aed5 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 15 十二月 2021 13:41:16 +0800 Subject: [PATCH] 版本备份 --- HDL_ON/DAL/Server/IMessageCommon.cs | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/HDL_ON/DAL/Server/IMessageCommon.cs b/HDL_ON/DAL/Server/IMessageCommon.cs index 38b7b8d..2564a72 100644 --- a/HDL_ON/DAL/Server/IMessageCommon.cs +++ b/HDL_ON/DAL/Server/IMessageCommon.cs @@ -243,7 +243,7 @@ /// <param name="statuCode"></param> /// <param name="isTipStyle"></param> /// <param name="tipStr">琛ュ厖鐨勯敊璇彁绀�</param> - public void ShowErrorInfoAlter(string statuCode, bool isTipStyle = true, int closeTime = 2, string tipStr = "") + public void ShowErrorInfoAlter(string statuCode, bool isTipStyle = true, int closeTime = 2, string tipStr = "",bool showAllMsg = true) { try { @@ -258,7 +258,13 @@ if (mes == null) return; if (!string.IsNullOrEmpty(tipStr)) { - mes = tipStr + "\n" + mes; + if (showAllMsg) + { + mes = tipStr + "\n" + mes; + }else + { + mes = tipStr; + } } if (isTipStyle) { @@ -299,7 +305,7 @@ try { var success = new HttpServerRequest().RefreshToken(); - if (success) { + if (success == StateCode.SUCCESS) { Utlis.WriteLine("RefreshToken success"); } } -- Gitblit v1.8.0