package com.iailab; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.openfeign.EnableFeignClients; @SpringBootApplication public class ModelServiceApplication implements CommandLineRunner { public static void main(String[] args) { SpringApplication.run(ModelServiceApplication.class, args); } /** * 容器初始化后加载路由 * * @param strings */ @Override public void run(String... strings) { } }