mirror of
https://github.com/dromara/tianai-captcha.git
synced 2026-05-09 07:03:05 +08:00
1.5.0正式版
This commit is contained in:
@@ -9,8 +9,7 @@ import cloud.tianai.captcha.resource.common.model.dto.Resource;
|
||||
public class TACBuilderTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
TACBuilder builder = TACBuilder.builder();
|
||||
ImageCaptchaApplication application = builder
|
||||
ImageCaptchaApplication application = TACBuilder.builder()
|
||||
.addDefaultTemplate()
|
||||
.addResource("SLIDER", new Resource("classpath", "META-INF/cut-image/resource/1.jpg"))
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user