增加验证码类型设置功能(纯数字、纯字母)
This commit is contained in:
		@@ -182,7 +182,7 @@ public class Test {
 | 
				
			|||||||
public class Test {
 | 
					public class Test {
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    public static void main(String[] args) {
 | 
					    public static void main(String[] args) {
 | 
				
			||||||
        OutputStream outputStream = new FileOutputStream(new File("D:/a/aa.gif"));
 | 
					        OutputStream outputStream = new FileOutputStream(new File("D:/a/aa.png"));
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        // 三个参数分别为宽、高、位数
 | 
					        // 三个参数分别为宽、高、位数
 | 
				
			||||||
        SpecCaptcha specCaptcha = new SpecCaptcha(130, 48, 5);
 | 
					        SpecCaptcha specCaptcha = new SpecCaptcha(130, 48, 5);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user