From f6f928d81ad53f424f35a9149db11b301ed7f8a8 Mon Sep 17 00:00:00 2001 From: LuoTong <2232327099qq.com> Date: 星期一, 22 四月 2024 16:25:05 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/haucheng_panzhihua' into haucheng_panzhihua --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java index e49e536..559d4a0 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java @@ -1,8 +1,10 @@ package com.panzhihua.common.service.auth; +import com.panzhihua.common.model.vos.LoginUserInfoVO; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import com.panzhihua.common.model.vos.R; @@ -69,6 +71,11 @@ @PostMapping("/refreshToken") R refreshToken(@RequestParam("refreshToken") String refreshToken); + + + @PostMapping("/getNewToken") + public R getNewToken(@RequestBody LoginUserInfoVO loginUserInfoVO); + /** * 商家后台登录 * -- Gitblit v1.7.1