From a2d287dce9eece41fa19b0af7e4138b21d348dde Mon Sep 17 00:00:00 2001 From: gaoben Date: Mon, 2 Sep 2024 14:43:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=B0=E5=A2=9E=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E6=89=8B=E6=9C=BA=E5=8F=B7=E6=9C=AA=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/httpapi/controler/HttpApiController.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shapelight-admin/src/main/java/net/shapelight/modules/httpapi/controler/HttpApiController.java b/shapelight-admin/src/main/java/net/shapelight/modules/httpapi/controler/HttpApiController.java index b9ca274..6e9b599 100644 --- a/shapelight-admin/src/main/java/net/shapelight/modules/httpapi/controler/HttpApiController.java +++ b/shapelight-admin/src/main/java/net/shapelight/modules/httpapi/controler/HttpApiController.java @@ -1815,7 +1815,7 @@ public class HttpApiController { String appKey = jsonContent.getString("appKey"); String timestamp = jsonContent.getString("timestamp"); String sign = jsonContent.getString("sign"); - String mobile = jsonContent.getString("mobile"); + //String mobile = jsonContent.getString("mobile"); //鉴权 R res = authService.auth(sn,appKey,timestamp,sign); if((Integer) res.get("code") != 0){ @@ -1882,6 +1882,7 @@ public class HttpApiController { personEntity.setGender(tenPersonJson.getGender()); personEntity.setName(tenPersonJson.getName()); personEntity.setDeptId(tenPersonJson.getDeptId()); + personEntity.setMobile(tenPersonJson.getMobile()); Date now = new Date(); @@ -1894,7 +1895,7 @@ public class HttpApiController { personEntity.setStatus(Constant.PESON_SUATUS_NOMOR); personEntity.setCreateTime(now); personEntity.setLastUpdateTime(now); - personEntity.setMobile(mobile); + personEntity.setCellId(deviceEntity.getCellId());