|
|
|
@ -429,8 +429,7 @@ public class LoginController extends BaseController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "9.3.获取登录二维码、放入Token", notes = "前端获取二维码")
|
|
|
|
|
@GetMapping(value = "/getLoginQr")
|
|
|
|
|
public Result<String> createCodeImg(HttpServletRequest request, HttpServletResponse response,
|
|
|
|
|
String uuid) {
|
|
|
|
|
public Result<String> createCodeImg(String uuid) {
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
@ -450,7 +449,13 @@ public class LoginController extends BaseController {
|
|
|
|
|
return Result.success(downloadUrl + "?code=" + uuid);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "9.4.确认身份接口:确定身份以及判断是否二维码过期等", notes = "确认身份接口:确定身份以及判断是否二维码过期等,仅APP用户可用")
|
|
|
|
|
@ApiOperation(value = "9.4.获取登录二维码前缀", notes = "获取登录二维码前缀")
|
|
|
|
|
@GetMapping(value = "/getDownloadUrl")
|
|
|
|
|
public Result<String> getDownloadUrl() {
|
|
|
|
|
return Result.success(downloadUrl + "?code=");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "9.5.确认身份接口:确定身份以及判断是否二维码过期等", notes = "确认身份接口:确定身份以及判断是否二维码过期等,仅APP用户可用")
|
|
|
|
|
@PostMapping(value = "/scanOrConfirm")
|
|
|
|
|
@GlobalInterceptor(checkAppUserLogin = true)
|
|
|
|
|
@ApiImplicitParams({
|
|
|
|
|