package com.prolog.cs.base.gsp;

import com.prolog.framework.authority.annotation.EnablePrologResourceServer;
import com.prolog.framework.bz.common.search.EnableSearchApi;
import com.prolog.framework.log.aop.annotation.EnableUserLog;
import com.prolog.framework.microservice.annotation.EnablePrologService;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;

@EnableUserLog
@EnablePrologService
@EnablePrologResourceServer
//@EnablePrologEmptySecurityServer
@EnableSearchApi
@MapperScan("com.prolog.cs.base.gsp.dao")
public class Application {

    private static Logger logger = LoggerFactory.getLogger(Application.class);

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        logger.info("============= SpringBoot Start Success =============");
    }

}