From 387383a243879bf8c63a4611e2ed2c5a519e218d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 20 十一月 2020 18:14:29 +0800 Subject: [PATCH] Merge branch 'CJL' --- HDL_ON/DAL/Server/IMessageCommon.cs | 32 ++++++++++++++++++++++++-------- 1 files changed, 24 insertions(+), 8 deletions(-) diff --git a/HDL_ON/DAL/Server/IMessageCommon.cs b/HDL_ON/DAL/Server/IMessageCommon.cs index 26e742c..9239d02 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> @@ -59,17 +60,16 @@ stateCodeDic["DATA_EXCEPTION"] = HDL_ON.StringId.DataExceptionPleaseTryAgain; #region 鍩虹鏈嶅姟 鏂伴敊璇爜 - ////鏈嶅姟鍣ㄦ鍦ㄥ崌绾� - //stateCodeDic["2"] = HDL_ON.StringId.FailureToServer; - ////楠岃瘉鐮佹牎楠屽け璐� - //stateCodeDic["14"] = HDL_ON.StringId.ValidatorCode_ValidCodeAndPhoneNoEqual; + //绯荤粺缁存姢涓瓇璇风◢鍚庡啀璇晘 + stateCodeDic["2"] = HDL_ON.StringId.SystemMaintenance; + //楠岃瘉鐮佹牎楠屽け璐� + stateCodeDic["14"] = HDL_ON.StringId.VerificationCodeWrong; ////浼氳瘽瓒呮椂锛岃鏇存柊token //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 +244,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