#
luxiaotao1123
2024-10-16 d8771a5d5afe1b5da6e6c3fece93db7892fc7bbf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.zy.acs.gateway;
 
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
 
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients(basePackages = "com.zy.acs.rpc")
//@ComponentScan(basePackages = {"com.zy.acs.gateway","com.zy.acs.rpc"})
public class GatewayBoot {
 
    public static void main(String[] args) {
        SpringApplication.run(GatewayBoot.class, args);
    }
 
}