From 027bb7ba21755cbc4220ca8b54d11f41136d7988 Mon Sep 17 00:00:00 2001 From: chengkun <2500338766@qq.com> Date: Fri, 8 Jul 2022 13:44:22 +0800 Subject: [PATCH] =?UTF-8?q?feature1.0.0-img:=E8=A1=A5=E5=85=85bnyer-api-im?= =?UTF-8?q?g=E6=A8=A1=E5=9D=97resources=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/bnyer/img/api/RemoteImgService.java | 1 - .../bnyer-api-img/src/main/resources/META-INF/spring.factories | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 bnyer-api/bnyer-api-img/src/main/resources/META-INF/spring.factories diff --git a/bnyer-api/bnyer-api-img/src/main/java/com/bnyer/img/api/RemoteImgService.java b/bnyer-api/bnyer-api-img/src/main/java/com/bnyer/img/api/RemoteImgService.java index 6e97e57..ac07351 100644 --- a/bnyer-api/bnyer-api-img/src/main/java/com/bnyer/img/api/RemoteImgService.java +++ b/bnyer-api/bnyer-api-img/src/main/java/com/bnyer/img/api/RemoteImgService.java @@ -2,7 +2,6 @@ package com.bnyer.img.api; import com.bnyer.common.core.constant.ServiceNameConstants; import com.bnyer.common.core.domain.R; -import com.bnyer.common.core.web.domain.AjaxResult; import com.bnyer.img.api.dto.TiktokImgMiniDto; import com.bnyer.img.api.factory.RemoteImgFallbackFactory; import io.swagger.annotations.ApiParam; diff --git a/bnyer-api/bnyer-api-img/src/main/resources/META-INF/spring.factories b/bnyer-api/bnyer-api-img/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..4d3de5a --- /dev/null +++ b/bnyer-api/bnyer-api-img/src/main/resources/META-INF/spring.factories @@ -0,0 +1,2 @@ +org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ + com.bnyer.img.api.factory.RemoteImgFallbackFactory