1.5.0正式版
This commit is contained in:
1 parent
00ffd1910c
commit
df81c15fc7
3 files changed
+10
-4
No files matched your search
@@ -12,8 +12,10 @@ public class TACBuilderTest {
|
||||
ImageCaptchaApplication application = TACBuilder.builder()
|
||||
.addDefaultTemplate()
|
||||
.addResource("SLIDER", new Resource("classpath", "META-INF/cut-image/resource/1.jpg"))
|
||||
.addResource("WORD_IMAGE_CLICK", new Resource("classpath", "META-INF/cut-image/resource/1.jpg"))
|
||||
.addResource("ROTATE", new Resource("classpath", "META-INF/cut-image/resource/1.jpg"))
|
||||
.build();
|
||||
CaptchaResponse<ImageCaptchaVO> response = application.generateCaptcha("SLIDER");
|
||||
CaptchaResponse<ImageCaptchaVO> response = application.generateCaptcha("ROTATE");
|
||||
System.out.println(response);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user