多余配置文件
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.Async;
|
||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||
|
||||
/**
|
||||
@@ -15,6 +16,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||
@EnableTransactionManagement
|
||||
@EnableDubbo
|
||||
@MapperScan("com.czg.service.product.mapper")
|
||||
@Async
|
||||
public class ProductApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -6,20 +6,22 @@ spring:
|
||||
name: product
|
||||
profiles:
|
||||
active: dev
|
||||
include: tools
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 10MB
|
||||
task:
|
||||
execution:
|
||||
pool:
|
||||
core-size: 8
|
||||
max-size: 16
|
||||
queue-capacity: 200
|
||||
thread-name-prefix: async-product-
|
||||
wx:
|
||||
ysk:
|
||||
appId: wx212769170d2c6b2a
|
||||
secrete: 8492a7e8d55bbb1b57f5c8276ea1add0
|
||||
operationMsgTmpId: wFdoUG-dUT7bDRHq8bMJD9CF5TjyH9x_uJQgQByZqHg
|
||||
warnMsgTmpId: C08OUr80x6wGmUN1zpFhSQ3Sv7VF5vksdZigiEx2pD0
|
||||
# 公众号
|
||||
ac:
|
||||
appId: wx1fb600d0f5ea6279
|
||||
secrete: b4c0534c9b5e6c84a7fe5c2078dff876
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user