mirror of
https://github.com/dromara/tianai-captcha.git
synced 2026-09-01 03:15:16 +08:00
U 修复 ClassPathResourceProvider 读到资源为空的情况处理
+ 新增 AbstractResourceProvider
This commit is contained in:
@@ -104,7 +104,7 @@
|
|||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
<id>attach-sources</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>jar-no-fork</goal>6
|
<goal>jar-no-fork</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ import java.net.URL;
|
|||||||
* @date 2021/8/7 16:05
|
* @date 2021/8/7 16:05
|
||||||
* @Description url
|
* @Description url
|
||||||
*/
|
*/
|
||||||
public class URLResourceProvider implements AbstractResourceProvider {
|
public class URLResourceProvider extends AbstractResourceProvider {
|
||||||
|
|
||||||
public static final String NAME = "URL";
|
public static final String NAME = "URL";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user