2025-03-02 01:40:08 +08:00
|
|
|
package cn.qihangerp.sys;
|
2024-01-19 17:12:41 +08:00
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
|
|
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
|
2025-04-24 21:24:50 +08:00
|
|
|
|
2024-01-19 17:12:41 +08:00
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Hello world!
|
|
|
|
|
*
|
|
|
|
|
*/
|
2025-04-24 21:24:50 +08:00
|
|
|
|
2024-01-21 17:37:03 +08:00
|
|
|
@EnableDiscoveryClient
|
2025-03-02 01:40:08 +08:00
|
|
|
@ComponentScan(basePackages={"cn.qihangerp"})
|
2024-03-24 17:03:24 +08:00
|
|
|
//@MapperScan("com.qihang.sys.api.mapper")
|
2024-01-19 17:12:41 +08:00
|
|
|
@SpringBootApplication
|
2024-02-26 19:15:34 +08:00
|
|
|
public class SysApi
|
2024-01-19 17:12:41 +08:00
|
|
|
{
|
|
|
|
|
public static void main( String[] args )
|
|
|
|
|
{
|
2024-02-26 19:15:34 +08:00
|
|
|
System.out.println( "Hello sys-api!" );
|
|
|
|
|
SpringApplication.run(SysApi.class, args);
|
2024-01-19 17:12:41 +08:00
|
|
|
}
|
|
|
|
|
|
2025-04-24 21:24:50 +08:00
|
|
|
|
2024-01-19 17:12:41 +08:00
|
|
|
}
|