package com.hongxin.hcd.backend.service.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.cloud.openfeign.EnableFeignClients; import tk.mybatis.spring.annotation.MapperScan; @SpringBootApplication(scanBasePackages = "com.hongxin.hcd.backend") @EnableEurekaClient @EnableFeignClients(basePackages = {"com.hongxin.hcd.backend"}) @MapperScan(basePackages = {"com.hongxin.hcd.backend.service.base.mapper"}) public class ServiceBaseApplication { public static void main(String[] args) { SpringApplication.run(ServiceBaseApplication.class, args); } }