JAVA生成图形验证码并返回给前台,SpringBoot+vue
JAVA生成图形验证码并返回给前台,SpringBoot+vue@GetMapping("/createCaptchaImage")public ResultModel getCode(HttpServletResponse response) throws IOException{ // 生成随机字串 String verifyCode = VerifyCodeUtils.generateVerifyCode(4); // 唯一标识 String uuid = .
原创
2020-09-07 15:12:22 ·
1021 阅读 ·
0 评论