mirror of
https://github.com/dromara/tianai-captcha.git
synced 2026-05-07 06:04:34 +08:00
U 修复 ClassPathResourceProvider 读到资源为空的情况处理
+ 新增 AbstractResourceProvider
This commit is contained in:
@@ -23,10 +23,10 @@
|
|||||||
<deplay.snapshotRepository>https://oss.sonatype.org/content/repositories/snapshots/</deplay.snapshotRepository>
|
<deplay.snapshotRepository>https://oss.sonatype.org/content/repositories/snapshots/</deplay.snapshotRepository>
|
||||||
|
|
||||||
<!-- 私服 -->
|
<!-- 私服 -->
|
||||||
<!-- <skip.nexus>true</skip.nexus>-->
|
<!-- <skip.nexus>true</skip.nexus>-->
|
||||||
<!-- <deplay.id>smart</deplay.id>-->
|
<!-- <deplay.id>smart</deplay.id>-->
|
||||||
<!-- <deplay.repository>http://192.168.3.10:6061/repository/smart_hosted/</deplay.repository>-->
|
<!-- <deplay.repository>http://192.168.3.10:6061/repository/smart_hosted/</deplay.repository>-->
|
||||||
<!-- <deplay.snapshotRepository>http://192.168.3.10:6061/repository/smart_hosted/</deplay.snapshotRepository>-->
|
<!-- <deplay.snapshotRepository>http://192.168.3.10:6061/repository/smart_hosted/</deplay.snapshotRepository>-->
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
@@ -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>
|
||||||
@@ -147,4 +147,4 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
+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