From 407fae6f07a2a982a2a814c2f145c40733c966cb Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 12 一月 2022 15:29:34 +0800
Subject: [PATCH] 2022-01-12 1.更新
---
Crabtree/SmartHome/HDL/Common/HttpUtil/ErrorCode.cs | 100 +++++++++++++++++++++++++-------------------------
1 files changed, 50 insertions(+), 50 deletions(-)
diff --git a/Crabtree/SmartHome/HDL/Common/HttpUtil/ErrorCode.cs b/Crabtree/SmartHome/HDL/Common/HttpUtil/ErrorCode.cs
index 560625a..cfe950a 100644
--- a/Crabtree/SmartHome/HDL/Common/HttpUtil/ErrorCode.cs
+++ b/Crabtree/SmartHome/HDL/Common/HttpUtil/ErrorCode.cs
@@ -4,58 +4,58 @@
public class ErrorCode
{
- //缃戠粶閿欒
- public readonly static string NetworkError = "Network Error";
- //鍘熷洜
- public readonly static string Reason = " Cause: ";
- //璐﹀彿宸叉敞鍐岋紝婵�娲婚偖浠跺凡缁忛噸鏂板彂閫�
- public readonly static string AccountYesRegisterNoIsverify = "Account is registered and activation email has been resent!";
- //璐﹀彿鏈縺娲�
- public readonly static string NOTVERIFY = "Account is not activated!";
- //璐﹀彿鎴栧瘑鐮侀敊璇�
- public readonly static string USERNAMEORPWDERROR = "Account or password error!";
- //璐﹀彿涓嶅瓨鍦�
- public readonly static string ACCOUNTNOEXISTS = "Account does not exist";
- //鐧诲綍澶辫触锛屽師鍥犱负锛�
- public readonly static string LoginFailed = "Login failed!";
- //鏃犳晥鐧诲綍Token
- public readonly static string NoLogin = "Invalid Login Token!";
- //鍚嶇О宸插瓨鍦�
- public readonly static string NameExist = "Name already exists!";
- //娣诲姞澶辫触
- public readonly static string AddFailed = "Add failed!";
- //鎿嶄綔澶辫触
- public readonly static string OperationFailed = "Operation failed!";
- //鍘熷瘑鐮佸拰鏂板瘑鐮佺浉鍚�
- public readonly static string NewPasswordAndOldPasswordEqual = "New password should be different with the original one.";
- //鍘熷瘑鐮侀敊璇�
- public readonly static string OldPwdNoYes = "Wrong original password!";
- //鍙戦�侀偖浠跺け璐�
- public readonly static string SendEmailFail = "Unable to send mail.";
- //褰撳墠鎻愪氦HomeId涓庡綋鍓峅ldMac灏氫笉瀛樺湪缁戝畾鍏崇郴!
- public readonly static string NoBind = "The HomeId just submitted is not bound with current OldMac.";
- //Token 楠岃瘉澶辫触
- public readonly static string HomeIdAndTokenNoConsistent = "Token verification failed!";
- //浣忓畢杩樺瓨鍦ㄧ綉鍏崇粦瀹�,璇峰厛瑙g粦瀹屽啀鎿嶄綔!
- public readonly static string CurrentHomeExixtsGatewayBind = "The home is bound with gateway already, please unbind first.";
- //浜や粯澶囦唤, 涓嶈兘鍒犻櫎!
- public readonly static string DeliveryBackNoUpdateDel = "Backup delivered and cannot be deleted.";
- //浣忓畢鏈粦瀹氱綉鍏� 璇峰厛缁戝畾鏃犵嚎缃戝叧!
- public readonly static string HomeNoRecord = "Please bind gateway first!";
- //浣忓畢涓嶅瓨鍦紒
- public readonly static string HomeNoExist = "Home does not exist!";
- //鐢熸垚鐨凣uid宸插瓨鍦�
- public readonly static string GuidExist = "Guid already exists.";
+ ////缃戠粶閿欒
+ //public readonly static string NetworkError = "Network Error";
+ ////鍘熷洜
+ //public readonly static string Reason = " Cause: ";
+ ////璐﹀彿宸叉敞鍐岋紝婵�娲婚偖浠跺凡缁忛噸鏂板彂閫�
+ //public readonly static string AccountYesRegisterNoIsverify = "Account is registered and activation email has been resent!";
+ ////璐﹀彿鏈縺娲�
+ //public readonly static string NOTVERIFY = "Account is not activated!";
+ ////璐﹀彿鎴栧瘑鐮侀敊璇�
+ //public readonly static string USERNAMEORPWDERROR = "Account or password error!";
+ ////璐﹀彿涓嶅瓨鍦�
+ //public readonly static string ACCOUNTNOEXISTS = "Account does not exist";
+ ////鐧诲綍澶辫触锛屽師鍥犱负锛�
+ //public readonly static string LoginFailed = "Login failed!";
+ ////鏃犳晥鐧诲綍Token
+ //public readonly static string NoLogin = "Invalid Login Token!";
+ ////鍚嶇О宸插瓨鍦�
+ //public readonly static string NameExist = "Name already exists!";
+ ////娣诲姞澶辫触
+ //public readonly static string AddFailed = "Add failed!";
+ ////鎿嶄綔澶辫触
+ //public readonly static string OperationFailed = "Operation failed!";
+ ////鍘熷瘑鐮佸拰鏂板瘑鐮佺浉鍚�
+ //public readonly static string NewPasswordAndOldPasswordEqual = "New password should be different with the original one.";
+ ////鍘熷瘑鐮侀敊璇�
+ //public readonly static string OldPwdNoYes = "Wrong original password!";
+ ////鍙戦�侀偖浠跺け璐�
+ //public readonly static string SendEmailFail = "Unable to send mail.";
+ ////褰撳墠鎻愪氦HomeId涓庡綋鍓峅ldMac灏氫笉瀛樺湪缁戝畾鍏崇郴!
+ //public readonly static string NoBind = "The HomeId just submitted is not bound with current OldMac.";
+ ////Token 楠岃瘉澶辫触
+ //public readonly static string HomeIdAndTokenNoConsistent = "Token verification failed!";
+ ////浣忓畢杩樺瓨鍦ㄧ綉鍏崇粦瀹�,璇峰厛瑙g粦瀹屽啀鎿嶄綔!
+ //public readonly static string CurrentHomeExixtsGatewayBind = "The home is bound with gateway already, please unbind first.";
+ ////浜や粯澶囦唤, 涓嶈兘鍒犻櫎!
+ //public readonly static string DeliveryBackNoUpdateDel = "Backup delivered and cannot be deleted.";
+ ////浣忓畢鏈粦瀹氱綉鍏� 璇峰厛缁戝畾鏃犵嚎缃戝叧!
+ //public readonly static string HomeNoRecord = "Please bind gateway first!";
+ ////浣忓畢涓嶅瓨鍦紒
+ //public readonly static string HomeNoExist = "Home does not exist!";
+ ////鐢熸垚鐨凣uid宸插瓨鍦�
+ //public readonly static string GuidExist = "Guid already exists.";
//鍒犻櫎澶辫触
public readonly static string FailedDelete = "Failed to delete!";
- //瀛愯处鍙蜂笉瀛樺湪
- public readonly static string SubAccountNoExists = "Sub accound does not exist.";
- //涓嶈兘娣诲姞鑷繁涓哄瓙璐﹀彿
- public readonly static string SameAccount = "Can't add yourself as a sub-account!";
- //璐﹀彿宸插瓨鍦ㄦ浣忓畢
- public readonly static string SubAccountExist = "Account already exists!";
- //涓嶈兘缁戝畾涓昏处鍙�
- public readonly static string NoAddMainAccount = "Can't bind main account!";
+ ////瀛愯处鍙蜂笉瀛樺湪
+ //public readonly static string SubAccountNoExists = "Sub accound does not exist.";
+ ////涓嶈兘娣诲姞鑷繁涓哄瓙璐﹀彿
+ //public readonly static string SameAccount = "Can't add yourself as a sub-account!";
+ ////璐﹀彿宸插瓨鍦ㄦ浣忓畢
+ //public readonly static string SubAccountExist = "Account already exists!";
+ ////涓嶈兘缁戝畾涓昏处鍙�
+ //public readonly static string NoAddMainAccount = "Can't bind main account!";
//鑾峰彇浣忓畢鐨勭綉鍏冲垪琛ㄥけ璐ワ紒
public readonly static string FailedGetGatewaysForHome = "Unable to get gateway list for home!";
//姝ょ綉鍏冲凡缁戝畾鍒颁竴涓綇鎵�锛岃鍦ㄧ粦瀹氬埌鍙︿竴涓綇鎵�涔嬪墠灏嗗叾閲嶇疆銆傛垨鑰呴暱鎸夌綉鍏虫寜閿�3S锛屽彉鎴愮孩鐏父浜紝鐒跺悗閲嶈瘯锛�
--
Gitblit v1.8.0