From f788a1e320b8505435ed66e2456ddb2d0a838f76 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 19 十一月 2020 19:58:14 +0800 Subject: [PATCH] 2020-11-19 1.优化绑定和解绑页面。2.修改密码功能实现,UI界面实现,接口实现。 --- HDL_ON/DAL/Server/IMessageCommon.cs | 42 ++++++++++++++++++++++++++++++++---------- 1 files changed, 32 insertions(+), 10 deletions(-) diff --git a/HDL_ON/DAL/Server/IMessageCommon.cs b/HDL_ON/DAL/Server/IMessageCommon.cs index 26e742c..e1e4013 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,22 @@ 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["4"] = HDL_ON.StringId.SignatureError; + //楠岃瘉鐮佹牎楠屽け璐� + stateCodeDic["14"] = HDL_ON.StringId.VerificationCodeWrong; + //楠岃瘉鐮佸彂閫侀绻侊紝璇风◢鍚庡啀璇曪紒 + stateCodeDic["15"] = HDL_ON.StringId.VerificationCodeSentFrequently; + //浼氳瘽瓒呮椂锛岃鏇存柊token + stateCodeDic["10001"] = HDL_ON.StringId.NotLogin; ////鐧诲綍澶辫触锛岃处鍙锋垨鑰呭瘑鐮侀敊璇� - //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 +250,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