廖井涛
2024-01-22 99bfa55e580535304111fd4dce5c48c850bbecce
north-glass-erp/src/main/java/com/example/erp/ErpApplication.java
New file
@@ -0,0 +1,20 @@
package com.example.erp;
import com.example.erp.tools.netty.NettyServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
//springboot 启动入口
@SpringBootApplication
@EnableCaching
public class ErpApplication {
    public static void main(String[] args) {
        SpringApplication.run(ErpApplication.class, args);
        try {
            new NettyServer(12345).start();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}