From 7153e420d66bce0a06b7e972ac3a5c34197fa2e5 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 18 十一月 2020 20:02:13 +0800 Subject: [PATCH] 2020-11-18 1.修改完善手机绑定和解绑。 --- HDL_ON/DAL/Server/IMessageCommon.cs | 38 ++++++++++++++++++++++++++++---------- 1 files changed, 28 insertions(+), 10 deletions(-) diff --git a/HDL_ON/DAL/Server/IMessageCommon.cs b/HDL_ON/DAL/Server/IMessageCommon.cs index 26e742c..ccea3d4 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,18 @@ stateCodeDic["DATA_EXCEPTION"] = HDL_ON.StringId.DataExceptionPleaseTryAgain; #region 鍩虹鏈嶅姟 鏂伴敊璇爜 - ////鏈嶅姟鍣ㄦ鍦ㄥ崌绾� - //stateCodeDic["2"] = HDL_ON.StringId.FailureToServer; - ////楠岃瘉鐮佹牎楠屽け璐� - //stateCodeDic["14"] = HDL_ON.StringId.ValidatorCode_ValidCodeAndPhoneNoEqual; - ////浼氳瘽瓒呮椂锛岃鏇存柊token - //stateCodeDic["10001"] = HDL_ON.StringId.uOperationFailed; - + //绯荤粺缁存姢涓瓇璇风◢鍚庡啀璇晘 + stateCodeDic["2"] = HDL_ON.StringId.SystemMaintenance; + //楠岃瘉鐮佹牎楠屽け璐� + stateCodeDic["14"] = HDL_ON.StringId.VerificationCodeWrong; + //楠岃瘉鐮佸彂閫侀绻侊紝璇风◢鍚庡啀璇曪紒 + stateCodeDic["15"] = HDL_ON.StringId.VerificationCodeSentFrequently; ////鐧诲綍澶辫触锛岃处鍙锋垨鑰呭瘑鐮侀敊璇� - //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; + //璐﹀彿宸插瓨鍦� + stateCodeDic["10012"] = HDL_ON.StringId.AccountExist; //#endregion ////return; @@ -244,4 +246,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