From 0ceb3c850cc2d6df73819985dbbc67630b435314 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期五, 28 六月 2024 14:16:56 +0800 Subject: [PATCH] 花城 修改【小程序】【需求清单】位接单后,切换问题、需求数据一样 --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/LoginApi.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/LoginApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/LoginApi.java index 368ca10..085ef2b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/LoginApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/LoginApi.java @@ -284,6 +284,13 @@ 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) { @@ -348,7 +355,10 @@ @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(); -- Gitblit v1.7.1