多余配置文件
This commit is contained in:
@@ -6,6 +6,7 @@ import org.mybatis.spring.annotation.MapperScan;
|
|||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||||
|
import org.springframework.scheduling.annotation.EnableAsync;
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -17,6 +18,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|||||||
@MapperScan("com.czg.service.account.mapper")
|
@MapperScan("com.czg.service.account.mapper")
|
||||||
@EnableDubbo
|
@EnableDubbo
|
||||||
@Slf4j
|
@Slf4j
|
||||||
|
@EnableAsync
|
||||||
public class AccountApplication{
|
public class AccountApplication{
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(AccountApplication.class, args);
|
SpringApplication.run(AccountApplication.class, args);
|
||||||
|
|||||||
@@ -6,10 +6,16 @@ spring:
|
|||||||
name: account
|
name: account
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
include: tools
|
|
||||||
servlet:
|
servlet:
|
||||||
multipart:
|
multipart:
|
||||||
max-file-size: 10MB
|
max-file-size: 10MB
|
||||||
|
task:
|
||||||
|
execution:
|
||||||
|
pool:
|
||||||
|
core-size: 8
|
||||||
|
max-size: 16
|
||||||
|
queue-capacity: 200
|
||||||
|
thread-name-prefix: async-account-
|
||||||
|
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
@@ -23,25 +29,6 @@ mybatis-flex:
|
|||||||
call-setters-on-nulls: true
|
call-setters-on-nulls: true
|
||||||
jdbc-type-for-null: 'null'
|
jdbc-type-for-null: 'null'
|
||||||
|
|
||||||
wx:
|
|
||||||
appId: wxd88fffa983758a30
|
|
||||||
secrete: a34a61adc0602118b49400baa8812454
|
|
||||||
account:
|
|
||||||
appId: wx212769170d2c6b2a
|
|
||||||
secrete: 8492a7e8d55bbb1b57f5c8276ea1add0
|
|
||||||
|
|
||||||
alipay:
|
|
||||||
serverUrl: https://openapi.alipay.com/gateway.do
|
|
||||||
appId: 2021004145625815
|
|
||||||
privateKey: MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCAjDBuS8K/IJb9ui+KuNm/sTUdEiaji4BNpZ92avO1N5JpNlGmac6ec4p3tNFT950sBLcQkClcUpQxUHQzAT6DYNNXOKyvfI/EmcqwCw6PaMNLs/8cV//J2WWZBUhLaOsjKurpm9/3W5MnTh4BGxIfBoeBMA8f8K3BgKdmyKtvIEV2h2cyjsMskdn+g6oNZcmWcms0pvpPHyH46mRaGFhpp0v19wX3WsamGldh1L2VntmaDN3C2XbSrXv90XYp5bEUqwTbLwXpMAlzTibF56d/iqv9oYi8cpAKougUFLOymnbutLNs2tLrEDSFwHcmG2/wbZHybZyYcIgFgv4arf+tAgMBAAECggEAf7hKKlw1y6Z6vvAtalxNZUuRZSfyog3p1bwYWxTavZPQcZ7Zs0lvVDmiO1u5m/7q96BbryY9IhCeUv0H5uF2lhwu/3s9AEL3qTPQkeb6eXxyhhX6A9RfPdM1Qbtg4CQHdHKg4qjP9znSVHwmDZ0y/QaEvdPdQzPjv92u9c2tn4N4x6XyBYcU5gzxiJNnIugCmBgcJo/3H2fgV+XXEhORPvy5of9b4oATHEaLS/8dAS2wuOjhzaGS4MXp3VkXn3XaYjwSzaL03qYWA+xm+aO5sJv8bmqZW7sNVck5o3sPo7cQ4VkBFVzyrRdmJcxcSRJ9MsB9JsrhoKI8pgaXrVie4QKBgQDU2vai0lpBIK/0jzRpPNoqdT8lnafnnWni8nU4kfAh+gCLi+HBPhQRT0kv4unQc2q2/gALE7sgZVO00JGY5a3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aMGdThYdSRUb5wp9CZ5qfV7vCS/CgaRo38nhH3NOzkTL+7v0m1ZDHPmqEkn9VzZN6sCQdL7PoAOjHOCwIDAQAB
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
pagehelper:
|
pagehelper:
|
||||||
helper-dialect: mysql
|
helper-dialect: mysql
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import org.mybatis.spring.annotation.MapperScan;
|
|||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||||
|
import org.springframework.scheduling.annotation.EnableAsync;
|
||||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
|
|
||||||
@@ -21,6 +22,7 @@ import javax.annotation.PostConstruct;
|
|||||||
@EnableDubbo
|
@EnableDubbo
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
@Slf4j
|
@Slf4j
|
||||||
|
@EnableAsync
|
||||||
public class MarketApplication {
|
public class MarketApplication {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(MarketApplication.class, args);
|
SpringApplication.run(MarketApplication.class, args);
|
||||||
|
|||||||
@@ -6,15 +6,13 @@ spring:
|
|||||||
name: market
|
name: market
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
include: tools
|
task:
|
||||||
wx:
|
execution:
|
||||||
ysk:
|
pool:
|
||||||
appId: wx212769170d2c6b2a
|
core-size: 8
|
||||||
secrete: 8492a7e8d55bbb1b57f5c8276ea1add0
|
max-size: 16
|
||||||
operationMsgTmpId: wFdoUG-dUT7bDRHq8bMJD9CF5TjyH9x_uJQgQByZqHg
|
queue-capacity: 200
|
||||||
warnMsgTmpId: C08OUr80x6wGmUN1zpFhSQ3Sv7VF5vksdZigiEx2pD0
|
thread-name-prefix: async-product-
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
config: classpath:logback.xml
|
config: classpath:logback.xml
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import org.mybatis.spring.annotation.MapperScan;
|
|||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||||
|
import org.springframework.scheduling.annotation.EnableAsync;
|
||||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
|
|
||||||
@@ -17,6 +18,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|||||||
@EnableDubbo
|
@EnableDubbo
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
|
@EnableAsync
|
||||||
public class OrderApplication {
|
public class OrderApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|||||||
@@ -6,7 +6,13 @@ spring:
|
|||||||
name: order
|
name: order
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
include: tools
|
task:
|
||||||
|
execution:
|
||||||
|
pool:
|
||||||
|
core-size: 8
|
||||||
|
max-size: 16
|
||||||
|
queue-capacity: 200
|
||||||
|
thread-name-prefix: async-order-
|
||||||
|
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import org.mybatis.spring.annotation.MapperScan;
|
|||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||||
|
import org.springframework.scheduling.annotation.Async;
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -15,6 +16,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|||||||
@EnableTransactionManagement
|
@EnableTransactionManagement
|
||||||
@EnableDubbo
|
@EnableDubbo
|
||||||
@MapperScan("com.czg.service.product.mapper")
|
@MapperScan("com.czg.service.product.mapper")
|
||||||
|
@Async
|
||||||
public class ProductApplication {
|
public class ProductApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|||||||
@@ -6,20 +6,22 @@ spring:
|
|||||||
name: product
|
name: product
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
include: tools
|
|
||||||
servlet:
|
servlet:
|
||||||
multipart:
|
multipart:
|
||||||
max-file-size: 10MB
|
max-file-size: 10MB
|
||||||
|
task:
|
||||||
|
execution:
|
||||||
|
pool:
|
||||||
|
core-size: 8
|
||||||
|
max-size: 16
|
||||||
|
queue-capacity: 200
|
||||||
|
thread-name-prefix: async-product-
|
||||||
wx:
|
wx:
|
||||||
ysk:
|
ysk:
|
||||||
appId: wx212769170d2c6b2a
|
appId: wx212769170d2c6b2a
|
||||||
secrete: 8492a7e8d55bbb1b57f5c8276ea1add0
|
secrete: 8492a7e8d55bbb1b57f5c8276ea1add0
|
||||||
operationMsgTmpId: wFdoUG-dUT7bDRHq8bMJD9CF5TjyH9x_uJQgQByZqHg
|
operationMsgTmpId: wFdoUG-dUT7bDRHq8bMJD9CF5TjyH9x_uJQgQByZqHg
|
||||||
warnMsgTmpId: C08OUr80x6wGmUN1zpFhSQ3Sv7VF5vksdZigiEx2pD0
|
warnMsgTmpId: C08OUr80x6wGmUN1zpFhSQ3Sv7VF5vksdZigiEx2pD0
|
||||||
# 公众号
|
|
||||||
ac:
|
|
||||||
appId: wx1fb600d0f5ea6279
|
|
||||||
secrete: b4c0534c9b5e6c84a7fe5c2078dff876
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import org.mybatis.spring.annotation.MapperScan;
|
|||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||||
|
import org.springframework.scheduling.annotation.EnableAsync;
|
||||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
|
|
||||||
@@ -17,6 +18,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|||||||
@MapperScan("com.czg.service.system.mapper")
|
@MapperScan("com.czg.service.system.mapper")
|
||||||
@EnableDubbo
|
@EnableDubbo
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
|
@EnableAsync
|
||||||
public class SystemApplication {
|
public class SystemApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|||||||
@@ -6,6 +6,13 @@ spring:
|
|||||||
name: system
|
name: system
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
|
task:
|
||||||
|
execution:
|
||||||
|
pool:
|
||||||
|
core-size: 8
|
||||||
|
max-size: 16
|
||||||
|
queue-capacity: 200
|
||||||
|
thread-name-prefix: async-system-
|
||||||
|
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
@@ -15,12 +22,6 @@ pagehelper:
|
|||||||
helper-dialect: mysql
|
helper-dialect: mysql
|
||||||
support-methods-arguments: true
|
support-methods-arguments: true
|
||||||
|
|
||||||
alipay:
|
|
||||||
sms:
|
|
||||||
key: your-key
|
|
||||||
secret: your-secret
|
|
||||||
templateCode: c
|
|
||||||
|
|
||||||
dubbo:
|
dubbo:
|
||||||
provider:
|
provider:
|
||||||
filter: traceProviderFilter
|
filter: traceProviderFilter
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
alipay:
|
|
||||||
sms:
|
|
||||||
key: LTAI5tPdEfYSZcqHbjCrtPRD
|
|
||||||
secret: DZjyHBq3nTujF0NMLxnZgsecU8ZCvy
|
|
||||||
templateCode: SMS_244665149
|
|
||||||
Reference in New Issue
Block a user