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());