重构 resource 模块,支持自定义tag标签

重构 transform 模块
修复以及优化各验证码生成器,
This commit is contained in:
天爱有情
2023-02-13 14:29:11 +08:00
parent ebc39efb02
commit 37d88b5ec2
25 changed files with 518 additions and 346 deletions
@@ -14,7 +14,7 @@ public abstract class AbstractResourceProvider implements ResourceProvider {
public InputStream getResourceInputStream(Resource data) {
InputStream resourceInputStream = doGetResourceInputStream(data);
if (resourceInputStream == null) {
throw new IllegalArgumentException("滑块验证码无法读到指定的资源[" + getName() + "]" + data);
throw new IllegalArgumentException("无法读到指定的资源[" + getName() + "]" + data);
}
return resourceInputStream;
}