mirror of
https://github.com/dromara/tianai-captcha.git
synced 2026-05-07 06:04:34 +08:00
@@ -20,6 +20,7 @@ public class Test3 {
|
||||
ImageCaptchaInfo imageCaptchaInfo = imageCaptchaGenerator.generateCaptchaImage(GenerateParam.builder()
|
||||
.type(CaptchaTypeConstant.SLIDER)
|
||||
.templateFormatName("jpeg")
|
||||
// 设置背景图片格式
|
||||
.backgroundFormatName("png")
|
||||
// 是否添加混淆滑块
|
||||
.obfuscate(true)
|
||||
|
||||
Reference in New Issue
Block a user