|
@@ -9,6 +9,7 @@ import lombok.AllArgsConstructor;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -19,7 +20,8 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
* @createTime 2022年08月24日 09:49:00
|
|
* @createTime 2022年08月24日 09:49:00
|
|
|
*/
|
|
*/
|
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
|
-@RestController("/assist/capture")
|
|
|
|
|
|
|
+@RestController
|
|
|
|
|
+@RequestMapping("/assist/captcha")
|
|
|
@Api(tags = "验证码")
|
|
@Api(tags = "验证码")
|
|
|
public class CaptchaController {
|
|
public class CaptchaController {
|
|
|
private final CaptchaUtil captchaUtil;
|
|
private final CaptchaUtil captchaUtil;
|