package com.xjrsoft.erp; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.context.annotation.ComponentScan; /** * @Author: tzx * @Date: 2023/10/19 14:57 */ @SpringBootApplication @EnableDiscoveryClient @EnableFeignClients(basePackages = "com.xjrsoft") @MapperScan(value = "com.xjrsoft.**.mapper") @ComponentScan(value = "com.xjrsoft") public class ErpApplication { public static void main(String[] args) { SpringApplication.run(ErpApplication.class, args); } }