| | |
| | | memberEntity.setPassword(SecureUtil.md5(newTransferPassword)); |
| | | dappMemberDao.updateById(memberEntity); |
| | | |
| | | // String redisKey = AppContants.REDIS_KEY_SIGN + memberEntity.getId(); |
| | | // redisUtils.del(redisKey); |
| | | |
| | | String redisKey = AppContants.REDIS_KEY_SIGN + memberEntity.getId(); |
| | | String existToken = redisUtils.getString(redisKey); |
| | | if (StrUtil.isNotBlank(existToken)) { |
| | | Object o = redisUtils.get(existToken); |
| | | if (ObjectUtil.isNotEmpty(o)) { |
| | | redisUtils.del(existToken); |
| | | redisUtils.del(redisKey); |
| | | } |
| | | } |
| | | |
| | | return new FebsResponse().success().message(MessageSourceUtils.getString("Operation_001")); |
| | | } |
| | |
| | | memberEntity.setPassword(SecureUtil.md5(newPassword)); |
| | | dappMemberDao.updateById(memberEntity); |
| | | |
| | | // String redisKey = AppContants.REDIS_KEY_SIGN + memberEntity.getId(); |
| | | // redisUtils.del(redisKey); |
| | | |
| | | String redisKey = AppContants.REDIS_KEY_SIGN + memberEntity.getId(); |
| | | String existToken = redisUtils.getString(redisKey); |
| | | if (StrUtil.isNotBlank(existToken)) { |
| | | Object o = redisUtils.get(existToken); |
| | | if (ObjectUtil.isNotEmpty(o)) { |
| | | redisUtils.del(existToken); |
| | | redisUtils.del(redisKey); |
| | | } |
| | | } |
| | | |
| | | return new FebsResponse().success().message(MessageSourceUtils.getString("Operation_001")); |
| | | } |