package com.ho.user;

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;

/**
 * @author fancl
 * @description: 用户服务
 * @date 2022/8/9
 */
@SpringBootApplication(scanBasePackages = {"com.ho.user","com.ho.common.tools"})
@MapperScan(basePackages = "com.ho.user.mapper")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.ho.user.feignclient"})
public class UserCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserCenterApplication.class ,args);
    }
}
