Merge remote-tracking branch 'origin/master-特殊用户控制' into uat_code
This commit is contained in:
@ -21,8 +21,8 @@ public class UserSwitchController {
|
|||||||
* @param role
|
* @param role
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping({"/findUser/{key}/{role}"})
|
@PostMapping({"/findUser"})
|
||||||
public BaseResponse<Boolean> findUser(@PathVariable String key,@PathVariable String role){
|
public BaseResponse<Boolean> findUser(@RequestParam String key,@RequestParam String role){
|
||||||
return BaseResponse.success(userSwitchService.findUser(key,role));
|
return BaseResponse.success(userSwitchService.findUser(key,role));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user