From 3c9ad99d4a5eeeb53f7380315197e7133f84d10c Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 27 十月 2020 14:57:33 +0800 Subject: [PATCH] 2020-10-27 1V2.510271 1.密码规则修改,修改为:密码必须为8-20个字符,包含字母、数字和符号。 2.APP本地增加登录,密码错误锁定,连续错误5次登录锁定,锁定5分钟。 3.登录界面,增加登录账号的邮箱格式匹配检测。 4.增加iOS越狱和Androidr Root检测,强制关闭APP。 --- Crabtree/SmartHome/HDL/Operation/ResponseEntity/SendJson.cs | 43 +++++++++++++++++++++++++++++++++---------- 1 files changed, 33 insertions(+), 10 deletions(-) diff --git a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/SendJson.cs b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/SendJson.cs index d57a5f5..53e0577 100644 --- a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/SendJson.cs +++ b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/SendJson.cs @@ -17,7 +17,6 @@ public string RequestSource = MainPage.RequestSource; public string LoginAccessToken; - } [System.Serializable] @@ -34,7 +33,7 @@ { public int Page = 1; - public int PageSize = 50; + public int PageSize = 100; } [System.Serializable] @@ -315,12 +314,20 @@ [System.Serializable] public class GetSingleHomeGatewayPaggerObj : BaseNoTokenObj { + /// <summary> + /// 鏄惁鏄瓙璐﹀彿杩涜鎿嶄綔 + /// </summary> + public bool IsOtherAccountCtrl = MainPage.IsAdministrator; public GetSingleHomeReqDtoObj ReqDto = new GetSingleHomeReqDtoObj() ; } [System.Serializable] - public class GetSingleHomeReqDtoObj : BaseAccountCtrlObj + public class GetSingleHomeReqDtoObj : BaseRequestObj { + /// <summary> + /// 浣忓畢ID + /// </summary> + public string HomeId; /// <summary> /// 鎼滅储缃戝叧鍞竴鏍囪瘑 榛樿涓簄ull /// </summary> @@ -336,7 +343,7 @@ /// UpdateMac 鏇存柊Mac(鍗板害) /// </summary> [System.Serializable] - public class UpdateMacObj : BaseRequestObj + public class UpdateMacObj : BaseAccountCtrlObj { /// <summary> /// 浣忓畢Id @@ -348,7 +355,23 @@ } #endregion - + #region 1.66 BindMac + /// <summary> + /// /App/BindMac 缁戝畾Mac(鍗板害鐗�) + /// </summary> + [System.Serializable] + public class BindMacObj : BaseAccountCtrlObj + { + ///// <summary> + ///// 浣忓畢Id + ///// </summary> + //public string HomeId; + public string MAC; + + + } + #endregion + #endregion @@ -391,12 +414,12 @@ /// 鍒犻櫎椤圭洰(浣忓畢) /// </summary> [System.Serializable] - public class EditHomeObj : BaseRequestObj + public class EditHomeObj : BaseAccountCtrlObj { - /// <summary> - /// 椤圭洰(浣忓畢)Id -->閿悕 : HomeId - /// </summary> - public string HomeId; + ///// <summary> + ///// 椤圭洰(浣忓畢)Id -->閿悕 : HomeId + ///// </summary> + //public string HomeId; /// <summary> /// 浣忓畢鍖哄煙鍚嶇О /// </summary> -- Gitblit v1.8.0