zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.changhong.epc.admin;
 
import com.changhong.epc.constter.system.SystemClients;
import com.changhong.epc.constter.system.run.EpcApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;
 
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class
})
@SpringCloudApplication
@ComponentScan(basePackages={"com.changhong.epc", "com.iemsoft.framework.cloud"})
public class AdminApplication implements SystemClients{
    
    public static void main(String[] args) throws Exception {
        new EpcApplication(SERVER_ADMIN, AdminApplication.class).run(args);
    }
 
}