From ce2a26883e5dccaa0639cfdb4c4045ac7b5d9207 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期日, 20 十二月 2020 17:28:44 +0800
Subject: [PATCH] 2020-12-20 1.报警推送弹窗方案效果修改,点击查看跳转信息中心,实现避免重复弹窗。2.

---
 HDL_ON/DAL/Server/IMessageCommon.cs |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/DAL/Server/IMessageCommon.cs b/HDL_ON/DAL/Server/IMessageCommon.cs
index 0f84085..fbfc0bf 100644
--- a/HDL_ON/DAL/Server/IMessageCommon.cs
+++ b/HDL_ON/DAL/Server/IMessageCommon.cs
@@ -64,7 +64,10 @@
             stateCodeDic["NETWORK_ERROR"] = StringId.FailedRequestServer;
             //鏁版嵁寮傚父
             stateCodeDic["DATA_EXCEPTION"] = StringId.DataExceptionPleaseTryAgain;
-
+            //涓庢湇鍔″櫒閫氳澶辫触
+            stateCodeDic[StateCode.NETWORK_ERROR] = StringId.FailedRequestServer;
+            //鏁版嵁寮傚父
+            stateCodeDic[StateCode.DATA_EXCEPTION] = StringId.DataExceptionPleaseTryAgain;
             #region 鍩虹鏈嶅姟 鏂伴敊璇爜 2020-12-07
             //绯荤粺绻佸繖~璇风◢鍚庡啀璇晘
             stateCodeDic["1"] = StringId.SystemIsBusy;
@@ -320,6 +323,16 @@
     public class StateCode
     {
         /// <summary>
+        /// 缃戠粶璇锋眰寮傚父
+        /// APP鑷畾涔夐敊璇爜
+        /// </summary>
+        public const string NETWORK_ERROR = "-1";
+        /// <summary>
+        /// 鏁版嵁瑙f瀽閿欒
+        /// APP鑷畾涔夐敊璇爜
+        /// </summary>
+        public const string DATA_EXCEPTION = "-2";
+        /// <summary>
         /// 璇锋眰鎴愬姛鐨勭姸鎬佺爜
         /// </summary>
         public const string SUCCESS = "0";

--
Gitblit v1.8.0