chore: 获取图片验证码 URL /img => /image
This commit is contained in:
parent
4c6a7fb91a
commit
9a1a472ec9
@ -98,7 +98,7 @@ public class CaptchaController {
|
|||||||
|
|
||||||
@Log(ignore = true)
|
@Log(ignore = true)
|
||||||
@Operation(summary = "获取图片验证码", description = "获取图片验证码(Base64编码,带图片格式:data:image/gif;base64)")
|
@Operation(summary = "获取图片验证码", description = "获取图片验证码(Base64编码,带图片格式:data:image/gif;base64)")
|
||||||
@GetMapping("/img")
|
@GetMapping("/image")
|
||||||
public R<CaptchaResp> getImageCaptcha() {
|
public R<CaptchaResp> getImageCaptcha() {
|
||||||
String uuid = IdUtil.fastUUID();
|
String uuid = IdUtil.fastUUID();
|
||||||
String captchaKey = CacheConstants.CAPTCHA_KEY_PREFIX + uuid;
|
String captchaKey = CacheConstants.CAPTCHA_KEY_PREFIX + uuid;
|
||||||
|
Loading…
Reference in New Issue
Block a user