多余配置文件

This commit is contained in:
2025-12-01 14:09:03 +08:00
parent cd12c48caa
commit 2c9158c7ba
11 changed files with 45 additions and 46 deletions

View File

@@ -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) {

View File

@@ -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