dtp-引入dtp代替hippop4j
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.accompany.oauth2;
|
||||
|
||||
import org.dromara.dynamictp.spring.annotation.EnableDynamicTp;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.SpringBootConfiguration;
|
||||
@@ -9,6 +10,7 @@ import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
@EnableDynamicTp
|
||||
@SpringBootApplication
|
||||
@ComponentScan("com.accompany")
|
||||
@ServletComponentScan(value = {"com.accompany", "com.xuanyin"})
|
||||
|
@@ -30,7 +30,7 @@ spring:
|
||||
refresh: true
|
||||
- data-id: sysconf.yml
|
||||
refresh: true
|
||||
- data-id: threadpool.yml
|
||||
- data-id: dtp.yml
|
||||
refresh: true
|
||||
|
||||
---
|
||||
@@ -53,7 +53,7 @@ spring:
|
||||
refresh: true
|
||||
- data-id: sysconf.yml
|
||||
refresh: true
|
||||
- data-id: threadpool.yml
|
||||
- data-id: dtp.yml
|
||||
refresh: true
|
||||
- data-id: database.yml
|
||||
refresh: true
|
||||
|
Reference in New Issue
Block a user