package com.mortals.xhx;

import com.mortals.framework.springcloud.boot.BaseWebApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ImportResource;

@EnableFeignClients
@SpringBootApplication(scanBasePackages = {"com.mortals"})
@ServletComponentScan("com.mortals")
@ImportResource(locations = {"classpath:config/spring-config.xml"})
public class ManagerApplication extends BaseWebApplication {

//    @Bean
//    public ICacheService cacheService() {
//        return new LocalCacheServiceImpl();
//    }



    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
        System.out.println("考勤管理项目启动！！！！！！！！！！！！！");

    }

}
