release: 获取登录二维码前缀

release-2024-08-08
huangyw 4 months ago
parent a84812399a
commit eb35181869

@ -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({

Loading…
Cancel
Save