liuxm
2024-04-23 17d95f1d550560c89b77521f603047351bba6ec8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.dy.sso;
 
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
 
@SpringBootApplication
@EnableAspectJAutoProxy
@EnableCaching//开启使用缓存
@ComponentScan(basePackages = {"com.dy.common", "com.dy.pmsGlobal", "com.dy.sso"})
@MapperScan(basePackages={"com.dy.pmsGlobal.dao*"})
@Slf4j
public class PmsSsoApplication {
 
    public static void main(String[] args) {
        SpringApplication.run(PmsSsoApplication.class, args);
    }
 
}