|
@@ -92,7 +92,7 @@ public class SysLoginController
|
|
/**
|
|
/**
|
|
* 产生uuid二维码
|
|
* 产生uuid二维码
|
|
*/
|
|
*/
|
|
- @PostMapping("getQrCode")
|
|
|
|
|
|
+ @PostMapping("/scanCode/getQrCode")
|
|
public R<?> getQrCode() {
|
|
public R<?> getQrCode() {
|
|
String qrCode = tokenService.getQrCode();
|
|
String qrCode = tokenService.getQrCode();
|
|
return R.ok(qrCode);
|
|
return R.ok(qrCode);
|
|
@@ -101,7 +101,7 @@ public class SysLoginController
|
|
/**
|
|
/**
|
|
* 判断二维码是否被扫描
|
|
* 判断二维码是否被扫描
|
|
*/
|
|
*/
|
|
- @GetMapping("getPool/{uuid}")
|
|
|
|
|
|
+ @GetMapping("/scanCode/getPool/{uuid}")
|
|
public R<?> getPool(@PathVariable String uuid) {
|
|
public R<?> getPool(@PathVariable String uuid) {
|
|
return tokenService.getPool(uuid);
|
|
return tokenService.getPool(uuid);
|
|
}
|
|
}
|
|
@@ -112,7 +112,7 @@ public class SysLoginController
|
|
* @param uuid
|
|
* @param uuid
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @GetMapping(value = "scanCode/{uuid}")
|
|
|
|
|
|
+ @GetMapping(value = "/scanCode/confirm/{uuid}")
|
|
public R<?> scanCode(@PathVariable String uuid) {
|
|
public R<?> scanCode(@PathVariable String uuid) {
|
|
return tokenService.scanCode(uuid);
|
|
return tokenService.scanCode(uuid);
|
|
}
|
|
}
|