|
@@ -2,6 +2,7 @@ package cn.gygxzc.envir
|
|
|
|
|
|
import cn.gygxzc.cloud.tina.fastdfs.client.EnableFastDFSClient
|
|
|
import cn.gygxzc.tina.cloud.bus.EnableRabbitMessage
|
|
|
+import cn.gygxzc.tina.cloud.jwt.session.EnableJwtSpringRedisSession
|
|
|
import org.mybatis.spring.annotation.MapperScan
|
|
|
import org.springframework.boot.SpringApplication
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication
|
|
@@ -17,6 +18,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients
|
|
|
@EnableFeignClients
|
|
|
@EnableFastDFSClient
|
|
|
@EnableRabbitMessage
|
|
|
+@EnableJwtSpringRedisSession
|
|
|
@SpringBootApplication(scanBasePackages = ["cn.gygxzc.envir", "com.gxzc"])
|
|
|
@MapperScan(basePackages = ["cn.gygxzc.**.dao", "cn.gygxzc.**.mapper"])
|
|
|
class MainApplication : SpringBootServletInitializer() {
|