| | |
| | | return tokenService.refreshToken(refreshToken); |
| | | } |
| | | |
| | | @ApiOperation(value = "刷新token", response = LoginReturnVO.class) |
| | | @PostMapping("getNewToken") |
| | | public R getNewToken(@RequestBody LoginUserInfoVO loginUserInfoVO) |
| | | { |
| | | return tokenService.getNewToken(loginUserInfoVO); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询社区") |
| | | @PostMapping("listcommunity") |
| | | public R listCommunity(@RequestBody ComActVO comActVO) { |
| | |
| | | @PostMapping("tfLogin") |
| | | public R tfLogin(@RequestBody UuLoginVO uuLoginVO){ |
| | | try { |
| | | //uuLoginVO.setMobile(RSAUtils.decrypt(uuLoginVO.getMobile(), Constants.PRIVATE_KEY)); |
| | | log.info("天府通办登录【{}】", JSONObject.toJSONString(uuLoginVO.getMobile())); |
| | | String str=RSAUtils.decrypt(uuLoginVO.getMobile(), Constants.PRIVATE_KEY); |
| | | log.info("天府通办登录【{}】", JSONObject.toJSONString(str)); |
| | | uuLoginVO.setMobile(str); |
| | | //测试是否能正常添加用户 |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |