update 修改验证码路径适配 cloud ;

This commit is contained in:
zlyx 2023-07-20 18:48:17 +08:00
parent 8df34e50fa
commit ea0b82997f

View File

@ -97,7 +97,7 @@ public class CaptchaController {
/** /**
* 生成验证码 * 生成验证码
*/ */
@GetMapping("/code") @GetMapping("/auth/code")
public R<CaptchaVo> getCode() { public R<CaptchaVo> getCode() {
CaptchaVo captchaVo = new CaptchaVo(); CaptchaVo captchaVo = new CaptchaVo();
boolean captchaEnabled = captchaProperties.getEnable(); boolean captchaEnabled = captchaProperties.getEnable();