From 1209d93632b447823caf371dea5ccf030ab20434 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 13 十一月 2020 17:11:55 +0800 Subject: [PATCH] 2020-11-13 1.更新 --- HDL_ON/DAL/Server/IMessageCommon.cs | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/HDL_ON/DAL/Server/IMessageCommon.cs b/HDL_ON/DAL/Server/IMessageCommon.cs index 26e742c..c1912c7 100644 --- a/HDL_ON/DAL/Server/IMessageCommon.cs +++ b/HDL_ON/DAL/Server/IMessageCommon.cs @@ -9,6 +9,7 @@ /// </summary> public class IMessageCommon { + /// <summary> /// 鎺ュ彛绫荤殑杩斿洖淇℃伅 /// </summary> @@ -67,9 +68,9 @@ //stateCodeDic["10001"] = HDL_ON.StringId.uOperationFailed; ////鐧诲綍澶辫触锛岃处鍙锋垨鑰呭瘑鐮侀敊璇� - //stateCodeDic["10008"] = HDL_ON.StringId.Accountorpassworderro; - ////璐﹀彿涓嶅瓨鍦� - //stateCodeDic["10010"] = HDL_ON.StringId.uNoLogin; + stateCodeDic["10008"] = HDL_ON.StringId.LoginFailed_AccountOrPasswordError; + //璐﹀彿涓嶅瓨鍦� + stateCodeDic[StateCode.ACCOUNT_NOT_EXIST] = HDL_ON.StringId.AccountNotExist; //#endregion ////return; @@ -244,4 +245,20 @@ catch { } } } + + /// <summary> + /// 甯哥敤鐘舵�佺爜绠$悊 + /// </summary> + public class StateCode + { + /// <summary> + /// 璇锋眰鎴愬姛鐨勭姸鎬佺爜 + /// </summary> + public const string SUCCESS = "0"; + /// <summary> + /// 璐﹀彿涓嶅瓨鍦ㄧ殑閿欒鐮� + /// </summary> + public const string ACCOUNT_NOT_EXIST = "10010"; + + } } -- Gitblit v1.8.0