From 7ed9cc5bb6a07a8358a2705797bd2b31c6e39fd4 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 07 一月 2021 18:33:34 +0800 Subject: [PATCH] 2021-01-07 1.注册功能,忘记密码功能相关接口替换,UI界面修改调整。 --- Crabtree/SmartHome/HDL/Operation/ResponseEntity/API.cs | 121 +++++++++++++++++++++++++-------------- 1 files changed, 77 insertions(+), 44 deletions(-) diff --git a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/API.cs b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/API.cs index 12a067e..9ad9a5a 100644 --- a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/API.cs +++ b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/API.cs @@ -7,21 +7,21 @@ # region ZigbeeUsers 閮ㄥ垎 //***************************ZigbeeUsers 閮ㄥ垎******************************** public static string API_ZigbeeUsers = "/ZigbeeUsers/"; - /// <summary> - /// 杩炴帴鏈嶅姟鍣� - /// Connection - /// </summary> - public static string Connection = API_ZigbeeUsers + "/Connection"; - /// <summary> - /// Users - 浣跨敤甯愬彿瀵嗙爜鐧诲綍 - /// ZigbeeUsers/Login - /// </summary> - public static string Login = API_ZigbeeUsers + "Login"; + ///// <summary> + ///// 杩炴帴鏈嶅姟鍣� + ///// Connection + ///// </summary> + //public static string Connection = API_ZigbeeUsers + "/Connection"; + ///// <summary> + ///// Users - 浣跨敤甯愬彿瀵嗙爜鐧诲綍 + ///// ZigbeeUsers/Login + ///// </summary> + //public static string Login = API_ZigbeeUsers + "Login"; - /// <summary> - /// 鐢ㄦ埛鏄惁瀛樺湪 - /// </summary> - public static string IsExistingAccount = API_ZigbeeUsers + "IsExistingAccount"; + ///// <summary> + ///// 鐢ㄦ埛鏄惁瀛樺湪 + ///// </summary> + //public static string IsExistingAccount = API_ZigbeeUsers + "IsExistingAccount"; ///// <summary> ///// HomeList @@ -29,23 +29,23 @@ //public static string HomeList = "HangZhouHdlCloudApi/ZigbeeUsers/HomeList"; - /// <summary> - /// 淇敼鐢ㄦ埛瀵嗙爜 - /// </summary> - public static string UpdatePassword = API_ZigbeeUsers + "UpdatePassword"; + ///// <summary> + ///// 淇敼鐢ㄦ埛瀵嗙爜 + ///// </summary> + //public static string UpdatePassword = API_ZigbeeUsers + "UpdatePassword"; - /// <summary> - /// 鍒ゆ柇璐﹀彿鏄惁瀛樺湪 - /// </summary> - public static string DetectionAccount = API_ZigbeeUsers + "DetectionAccount"; - /// <summary> - /// 娉ㄥ唽璐﹀彿 鍙戦�侀偖浠剁‘璁ょ殑鏂瑰紡 - /// </summary> - public static string YdRegisterAccount = API_ZigbeeUsers + "YdRegisterAccount"; - /// <summary> - /// 蹇樿瀵嗙爜 - /// </summary> - public static string YdForgetPassword = API_ZigbeeUsers + "YdForgetPassword"; + ///// <summary> + ///// 鍒ゆ柇璐﹀彿鏄惁瀛樺湪 + ///// </summary> + //public static string DetectionAccount = API_ZigbeeUsers + "DetectionAccount"; + ///// <summary> + ///// 娉ㄥ唽璐﹀彿 鍙戦�侀偖浠剁‘璁ょ殑鏂瑰紡 + ///// </summary> + //public static string YdRegisterAccount = API_ZigbeeUsers + "YdRegisterAccount"; + ///// <summary> + ///// 蹇樿瀵嗙爜 + ///// </summary> + //public static string YdForgetPassword = API_ZigbeeUsers + "YdForgetPassword"; /// <summary> /// 缁戝畾瀛愯处鍙峰埌椤圭洰 need Authorization /// </summary> @@ -78,6 +78,8 @@ /// 1.22 涓婁紶[椤圭洰(浣忓畢(App(缃戝叧)鎵嬪姩澶囦唤]瀛愭枃浠� /// </summary> public static string UploadHomeAppGatewaySubFiles = API_APP + "UploadHomeAppGatewaySubFiles"; + public static string UploadHomeAppGatewaySingleSubFile = API_APP + "UploadHomeAppGatewaySingleSubFile"; + /// <summary> /// 1.23 鍒犻櫎App澶囦唤[鎵嬪姩澶囦唤浣忓畢銆佹墜鍔ㄥ浠界綉鍏炽�佽嚜鍔ㄥ浠戒綇瀹呫�佸叕鍏卞浠絔鐨勬煇浜涙枃浠� /// </summary> @@ -142,20 +144,20 @@ - /// <summary> - /// 1.81 娣诲姞椤圭洰(浣忓畢) - /// </summary> - public static string AddHome = API_APP + "AddHome"; + ///// <summary> + ///// 1.81 娣诲姞椤圭洰(浣忓畢) + ///// </summary> + //public static string AddHome = API_APP + "AddHome"; - /// <summary> - /// 1.82鍒犻櫎椤圭洰 (浣忓畢) - /// </summary> - public static string DelHome = API_APP + "DelHome"; + ///// <summary> + ///// 1.82鍒犻櫎椤圭洰 (浣忓畢) + ///// </summary> + //public static string DelHome = API_APP + "DelHome"; - /// <summary> - /// 1.83 缂栬緫椤圭洰(浣忓畢) - /// </summary> - public static string EditHome = API_APP + "EditHome"; + ///// <summary> + ///// 1.83 缂栬緫椤圭洰(浣忓畢) + ///// </summary> + //public static string EditHome = API_APP + "EditHome"; /// <summary> /// 1.84 鑾峰彇椤圭洰 (浣忓畢)鍒嗛〉 @@ -254,10 +256,41 @@ /// 5.03 鑾峰彇鍒嗕韩鑰匨qtt杩滅▼鎺у埗淇℃伅(Emq鐗堟湰) /// </summary> public static string ShareMemberConnMqttInfo = API_EmqMqtt + "ShareMemberConnMqttInfo"; - #endregion - + + /// <summary> + /// 瀹㈡埛绔幏鍙栬繛鎺ヤ簯绔疢qtt淇℃伅 + /// Connection + /// </summary> + public static string GetConnMqttInfo = API_EmqMqtt + "GetConnMqttInfo"; + + + #endregion + } + + /// <summary> + /// 涓婁紶澶ф枃浠舵墜鍔ㄥ浠� + /// </summary> + [System.Serializable] + public class UploadHomeAppGatewaySubFilesBigObj : BaseAccountCtrlObj + { + + /// <summary> + /// 澶囦唤鍚嶇殑Id + /// </summary> + public string BackupClassId; + + /// <summary> + /// ManualBackupType 鎵嬪姩澶囦唤绫诲瀷(0:App鎵嬪姩澶囦唤,2锛氱綉鍏虫墜鍔ㄥ浠�,4:鍏叡澶囦唤) 榛樿鍊�: 0 + /// </summary> + public int ManualBackupType = 0; + + /// <summary> + /// 鎵�涓婁紶鐨勬枃浠跺悕(鏂囦欢鍐呭璇烽�氳繃鍐欏叆http body閲�) + /// </summary> + public string FileName; + } } -- Gitblit v1.8.0