ServiceBaseApplication.java 740 B

123456789101112131415161718192021222324
  1. package com.hongxin.hcd.backend.service.demo;
  2. import org.springframework.boot.SpringApplication;
  3. import org.springframework.boot.autoconfigure.SpringBootApplication;
  4. import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
  5. import org.springframework.cloud.openfeign.EnableFeignClients;
  6. import tk.mybatis.spring.annotation.MapperScan;
  7. @SpringBootApplication(scanBasePackages = "com.hongxin.hcd.backend")
  8. @EnableEurekaClient
  9. @EnableFeignClients(basePackages = {"com.hongxin.hcd.backend"})
  10. @MapperScan(basePackages = {"com.hongxin.hcd.backend.service.base.mapper"})
  11. public class ServiceBaseApplication {
  12. public static void main(String[] args) {
  13. SpringApplication.run(ServiceBaseApplication.class, args);
  14. }
  15. }