Skip to content

Commit

Permalink
chore: 获取图片验证码 URL /img => /image
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Apr 29, 2024
1 parent 4c6a7fb commit 9a1a472
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public R<Object> checkBehaviorCaptcha(@RequestBody CaptchaVO captchaReq) {

@Log(ignore = true)
@Operation(summary = "获取图片验证码", description = "获取图片验证码(Base64编码,带图片格式:data:image/gif;base64)")
@GetMapping("/img")
@GetMapping("/image")
public R<CaptchaResp> getImageCaptcha() {
String uuid = IdUtil.fastUUID();
String captchaKey = CacheConstants.CAPTCHA_KEY_PREFIX + uuid;
Expand Down

0 comments on commit 9a1a472

Please sign in to comment.