luxiaotao1123
2024-09-09 ea7e27ff897da58be02c14a6f18adbf387a56ee1
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);
    }
 
}