From 9c8baf7e7e1169ebdf7d5f7ed33ab29dd5fcbf18 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 14 十二月 2020 17:45:17 +0800 Subject: [PATCH] 2020-12-14 1.解锁设置问题修复,增加面容ID验证。2.错误码对接增加。 --- HDL_ON/DAL/Server/IMessageCommon.cs | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 54 insertions(+), 4 deletions(-) diff --git a/HDL_ON/DAL/Server/IMessageCommon.cs b/HDL_ON/DAL/Server/IMessageCommon.cs index 038ae9f..12b884d 100644 --- a/HDL_ON/DAL/Server/IMessageCommon.cs +++ b/HDL_ON/DAL/Server/IMessageCommon.cs @@ -74,6 +74,8 @@ //stateCodeDic["3"] = StringId.SystemIsBusy; //绛惧悕閿欒 stateCodeDic["4"] = StringId.SignatureError; + //璇锋眰澶辫触锛屽弬鏁板紓甯革紒 + stateCodeDic["9"] = StringId.RequestFailedParameterException; //楠岃瘉鐮佹牎楠屽け璐� stateCodeDic[StateCode.VERIFICATION_CODE_WRONG] = StringId.VerificationCodeWrong; //楠岃瘉鐮佸彂閫侀绻侊紝璇风◢鍚庡啀璇曪紒 @@ -85,6 +87,8 @@ stateCodeDic[StateCode.TOKEN_EXPIRED] = StringId.NotLogin; //瑙f瀽鐢ㄦ埛韬唤閿欒锛岃閲嶆柊鐧诲綍 stateCodeDic["10006"] = StringId.InvalidToken; + //鎮ㄥ凡鍦ㄥ彟涓�涓澶囩櫥褰� + stateCodeDic["10007"] = StringId.LoggedOnOtherDevices; //鐧诲綍澶辫触锛岃处鍙锋垨鑰呭瘑鐮侀敊璇� stateCodeDic["10008"] = StringId.LoginFailed_AccountOrPasswordError; //鐢ㄦ埛宸茬粡琚鐢� @@ -101,14 +105,24 @@ stateCodeDic["10014"] = StringId.AccountExist; //鍘熷瘑鐮侀敊璇� stateCodeDic["10015"] = StringId.OldPwdNoYes; - ////缁戝畾鍙风爜閲嶅 - //stateCodeDic["10016"] = StringId.10016; - ////娉ㄥ唽澶辫触 - //stateCodeDic["10017"] = StringId.10017; + //缁戝畾鍙风爜閲嶅 + stateCodeDic["10016"] = StringId.DuplicateBindingNumber; + //娉ㄥ唽澶辫触 + stateCodeDic["10017"] = StringId.RegistrationFailedPleaseTryAgain; ////绉熸埛涓嶅瓨鍦� //stateCodeDic["10018"] = StringId.10018; //瀵嗙爜杩炵画杈撻敊娆℃暟宸茶揪鍒�10娆�,鐢ㄦ埛宸茶閿佸畾,璇锋鏃�0鐐瑰悗鍐嶇櫥闄� stateCodeDic["10019"] = StringId.AccountLoginLock; + + //娌℃湁鏉冮檺 + stateCodeDic["10105"] = StringId.PermissionDenied; + //楠岃瘉鐮佸凡缁忓彂閫� + stateCodeDic["10207"] = StringId.VerificationCodePrompt; + //鍙戦�侀獙璇佺爜閿欒 + stateCodeDic["10210"] = StringId.VerificationCodeWrong; + + + ////鏋氫妇绫诲瀷閿欒 //stateCodeDic["11003"] = StringId.11003; @@ -133,10 +147,46 @@ //stateCodeDic["10403"] = StringId.HOME_ID_EXISTS; //浣忓畢涓嶅瓨鍦� stateCodeDic["10404"] = StringId.Home_NoExists; + //浣忓畢娌℃湁缁戝畾缃戝叧 + stateCodeDic["10503"] = StringId.PleaseBindTheGatewayFirst; ////璋冪敤鐢ㄦ埛妯″潡鎺ュ彛澶辫触 //stateCodeDic["10213"] = HDL_ON.StringId; + //*********缃戝叧********* + //缃戝叧涓嶅瓨鍦� + stateCodeDic["10506"] = StringId.GatewayDoesNotExist; + //*********鍦烘櫙/鑷姩鍖�********* + //鍦烘櫙宸插瓨鍦� + stateCodeDic["14501"] = StringId.SceneAlreadyExists; + //鑷姩鍖栧凡瀛樺湪 + stateCodeDic["14502"] = StringId.AutomationAlreadyExists; + + //*********璁惧********* + //璁惧鐩爣閲嶅 + stateCodeDic["10801"] = StringId.DuplicateDeviceTarget; + //娌℃湁杩滅▼鎺у埗鏉冮檺 + stateCodeDic["10802"] = StringId.NoRemoteControlPermission; + //璁惧涓嶈兘涓虹┖ + stateCodeDic["10803"] = StringId.TheDeviceCannotBeEmpty; + //鐢ㄦ埛娌℃湁璁惧鐨勬潈闄� + stateCodeDic["10804"] = StringId.NotHavePermissionToTheDevice; + //璁惧涓嶅瓨鍦� + stateCodeDic["10805"] = StringId.TheDeviceDoesNotExist; + + //鎺у埗澶辫触 + stateCodeDic["20000"] = StringId.ControlFailure; + //缃戝叧绂荤嚎 + stateCodeDic["20001"] = StringId.GatewayOffline; + //璁惧绂荤嚎 + stateCodeDic["20002"] = StringId.DeviceOffline; + //spk涓嶆敮鎸佽鍔熻兘 + stateCodeDic["20101"] = StringId.SpkNotSupportThisFeature; + //spk鍔熻兘涓嶆敮鎸佹鍔熻兘鍊� + stateCodeDic["20102"] = StringId.SpkNotSupportThisFunctionValue; + + + #endregion #endregion -- Gitblit v1.8.0