qihang-ecom-erp-open/api/oms-api/src/main/java/cn/qihangerp/oms/OmsApi.java

23 lines
745 B
Java
Raw Normal View History

2025-03-02 01:40:08 +08:00
package cn.qihangerp.oms;
2024-03-11 14:15:25 +08:00
2024-03-11 14:39:29 +08:00
import org.mybatis.spring.annotation.MapperScan;
2024-03-11 14:15:25 +08:00
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
2025-03-02 01:40:08 +08:00
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
2024-03-11 14:15:25 +08:00
import org.springframework.context.annotation.ComponentScan;
//@EnableDiscoveryClient
2025-03-02 01:40:08 +08:00
//@MapperScan("cn.qihangerp.oms.mapper")
@EnableDiscoveryClient
@ComponentScan(basePackages={"cn.qihangerp"})
2024-03-11 14:15:25 +08:00
@SpringBootApplication
2024-03-11 14:39:29 +08:00
public class OmsApi {
2024-03-11 14:15:25 +08:00
public static void main( String[] args )
{
System.out.println( "Hello oms-api!" );
2024-03-11 14:39:29 +08:00
SpringApplication.run(OmsApi.class, args);
2024-03-11 14:15:25 +08:00
}
2024-03-11 13:32:51 +08:00
}