多余配置文件
This commit is contained in:
@@ -5,6 +5,7 @@ import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||
|
||||
@@ -17,6 +18,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||
@MapperScan("com.czg.service.system.mapper")
|
||||
@EnableDubbo
|
||||
@EnableScheduling
|
||||
@EnableAsync
|
||||
public class SystemApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -6,6 +6,13 @@ spring:
|
||||
name: system
|
||||
profiles:
|
||||
active: dev
|
||||
task:
|
||||
execution:
|
||||
pool:
|
||||
core-size: 8
|
||||
max-size: 16
|
||||
queue-capacity: 200
|
||||
thread-name-prefix: async-system-
|
||||
|
||||
|
||||
logging:
|
||||
@@ -15,12 +22,6 @@ pagehelper:
|
||||
helper-dialect: mysql
|
||||
support-methods-arguments: true
|
||||
|
||||
alipay:
|
||||
sms:
|
||||
key: your-key
|
||||
secret: your-secret
|
||||
templateCode: c
|
||||
|
||||
dubbo:
|
||||
provider:
|
||||
filter: traceProviderFilter
|
||||
|
||||
Reference in New Issue
Block a user