|
@@ -3,6 +3,7 @@ package com.sckw.remote.annotation;
|
|
|
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
|
|
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
+
|
|
|
import java.lang.annotation.*;
|
|
import java.lang.annotation.*;
|
|
|
|
|
|
|
|
@Target({ElementType.TYPE})
|
|
@Target({ElementType.TYPE})
|
|
@@ -11,8 +12,6 @@ import java.lang.annotation.*;
|
|
|
@Inherited
|
|
@Inherited
|
|
|
@EnableDubbo
|
|
@EnableDubbo
|
|
|
@EnableFeignClients({"com.sckw.*.api.feign"})
|
|
@EnableFeignClients({"com.sckw.*.api.feign"})
|
|
|
-@ComponentScan(basePackages = {"com.sckw.file.config","com.sckw.payment.config","com.sckw.fleet.config","com.sckw" +
|
|
|
|
|
- ".remote.filter","com.sckw.*.controller", "com.sckw.*.service","com.sckw.*.repository", "com.sckw.*.dubbo",
|
|
|
|
|
- "com.sckw.*.model","com.sckw.transport.*","com.sckw.*.serivce"})
|
|
|
|
|
|
|
+@ComponentScan(basePackages = {"com.sckw.message.consumer","com.sckw.file.config", "com.sckw.payment.config", "com.sckw.fleet.config", "com.sckw.remote.filter", "com.sckw.*.controller", "com.sckw.*.service", "com.sckw.*.repository", "com.sckw.*.dubbo", "com.sckw.*.model", "com.sckw.transport.*", "com.sckw.*.serivce"})
|
|
|
public @interface SckwRemoteApplication {
|
|
public @interface SckwRemoteApplication {
|
|
|
-}
|
|
|
|
|
|
|
+}
|