|
|
@@ -394,7 +394,7 @@ public class SysLoginController {
|
|
|
/**
|
|
|
* 扫描二维码 改变redis中相关uuid状态并于对应用户关联
|
|
|
*/
|
|
|
- @PostMapping("/scanQrCode")
|
|
|
+ @GetMapping("/scanQrCode")
|
|
|
public HttpResult scanQrCode(@RequestParam String uuid) {
|
|
|
Map<String, Object> data = new HashMap<>();
|
|
|
try {
|
|
|
@@ -433,7 +433,7 @@ public class SysLoginController {
|
|
|
/**
|
|
|
* 轮询接口 获取二维码状态
|
|
|
*/
|
|
|
- @PostMapping("/getQrCodeStatus")
|
|
|
+ @GetMapping("/getQrCodeStatus")
|
|
|
public HttpResult getQrCodeStatus(HttpServletRequest request, HttpServletResponse response,
|
|
|
@RequestParam String uuid) throws JsonProcessingException {
|
|
|
|