| | |
| | | @Autowired |
| | | private OperationLogUtils operationLogUtils; |
| | | |
| | | @Autowired |
| | | private ResponsibilityUnitService responsibilityUnitService; |
| | | |
| | | @Value("${AES.KEY}") |
| | | private String AESKey; |
| | |
| | | result.put("msg", ResponseCodeEnum.MOBILE_INVALID.getMsg()); |
| | | return result; |
| | | } |
| | | ResponsibilityUnit responsibilityUnit = responsibilityUnitService.selectAreaUnit(user.getUnitCode()); |
| | | user.setUnitId(responsibilityUnit.getUnitId()); |
| | | //密码加密 |
| | | user.setPassword(MD5Utils.saltMD5(password)); |
| | | Map<String, Object> orgInfo = (Map<String, Object>) currentUserInfo.get("organization"); |
| | |
| | | String deleteToken = TokenUtils.hget(userId).toString(); |
| | | TokenUtils.destoryToken(userId, deleteToken); |
| | | } |
| | | ResponsibilityUnit responsibilityUnit = responsibilityUnitService.selectAreaUnit(user.getUnitCode()); |
| | | user.setUnitId(responsibilityUnit.getUnitId()); |
| | | userMapper.updateById(user); |
| | | |
| | | //日志 |