南昌市物联网技防平台-后台
nnnjjj123
2021-01-28 830d1772dfae2ea5eaaf41ecb7cdbcb9efffc6c5
blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/JfptApplication.java
@@ -19,6 +19,8 @@
import org.springblade.core.cloud.feign.EnableBladeFeign;
import org.springblade.core.launch.BladeApplication;
import org.springblade.core.launch.constant.AppConstant;
import org.springblade.jfpt.nettyServer.Server;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.SpringCloudApplication;
@@ -31,11 +33,15 @@
@EnableBladeFeign
@SpringBootApplication
// @SeataCloudApplication
public class JfptApplication {
public class JfptApplication implements CommandLineRunner {
   public static void main(String[] args) {
      BladeApplication.run("blade-jfpts", JfptApplication.class, args);
   }
   @Override
   public void run(String... args) throws Exception {
      Server server=new Server(8088);
   }
}