|
@@ -12,7 +12,10 @@ import org.springframework.context.annotation.ComponentScan;
|
|
|
@EnableDiscoveryClient
|
|
|
//@Controller
|
|
|
@RefreshScope
|
|
|
-@ComponentScan(basePackages = {"com.fdkankan.redis","com.fdkankan.gateway"})
|
|
|
+@ComponentScan(basePackages = {
|
|
|
+ "com.fdkankan.redis",
|
|
|
+ "com.fdkankan.gateway"
|
|
|
+})
|
|
|
public class GatewayApplication {
|
|
|
|
|
|
public static void main(String[] args) {
|