From c84683221acfb3583baeb83bb6e484c447809cf5 Mon Sep 17 00:00:00 2001 From: yss <17921@qq.com> Date: Sun, 23 Apr 2023 14:58:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=91=E7=9D=A3=E8=A7=92=E8=89=B2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/ebtp/extend/userswitch/UserSwitchController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/userswitch/UserSwitchController.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/userswitch/UserSwitchController.java index f1ec2c1..a7c9cb9 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/userswitch/UserSwitchController.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/userswitch/UserSwitchController.java @@ -21,8 +21,8 @@ public class UserSwitchController { * @param role * @return */ - @PostMapping({"/findUser/{key}/{role}"}) - public BaseResponse findUser(@PathVariable String key,@PathVariable String role){ + @PostMapping({"/findUser"}) + public BaseResponse findUser(@RequestParam String key,@RequestParam String role){ return BaseResponse.success(userSwitchService.findUser(key,role)); } }