Merge branch 'dev'

This commit is contained in:
ronger 2020-06-24 10:52:19 +08:00
commit 942e03ec20

View File

@ -1,6 +1,6 @@
spring: spring:
# profiles: # profiles:
# active: dev # active: pord
thymeleaf: thymeleaf:
prefix: classpath:/templates/ prefix: classpath:/templates/
suffix: .html suffix: .html
@ -12,7 +12,7 @@ spring:
redis: redis:
host: 127.0.0.1 host: 127.0.0.1
port: 6379 port: 6379
password: d9d2j9w2 password: # redis 密码
database: 1 database: 1
timeout: 3000 timeout: 3000
jedis: jedis:
@ -22,86 +22,31 @@ spring:
max-idle: 500 max-idle: 500
min-idle: 0 min-idle: 0
datasource: datasource:
url: jdbc:mysql://101.132.182.12:3306/vertical?characterEncoding=UTF-8&autoReconnect=true&useSSL=false url: jdbc:mysql://localhost:3306/vertical?characterEncoding=UTF-8&autoReconnect=true&useSSL=false
username: root username: root
password: d9d2j9w2.RYMCU password: # 数据库密码
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
max-wait: 60000
min-idle: 20
initial-size: 10
max-active: 50
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
time-between-eviction-runs-millis: 60000
# 配置一个连接在池中最小生存的时间,单位是毫秒
min-evictable-idle-time-millis: 30000
validation-query: SELECT 1 FROM DUAL
test-while-idle: true
test-on-borrow: false
test-on-return: false
log-slow-sql: true
filters: config,stat,wall,log4j
max-pool-prepared-statement-per-connection-size: 100
stat-view-servlet:
enabled: true
pool-prepared-statements: true
resources: resources:
add-mappings: true add-mappings: true
mail: mail:
host: smtp.ym.163.com host: smtp.163.com
port: 465 port: 465
username: service@rymcu.com username: # 邮箱
password: Aa12345678 password: # 密码
servlet: env: dev
multipart:
max-file-size: 10MB
max-request-size: 20MB
wx:
open:
componentAppId: wx9c4a7dfb3238d5f6
componentSecret: e32a6f75ab6b746ec3ae38a39a79ba22
componentToken: rymcu
componentAesKey: NWIwMDQyZjU0YWI2NGFlZThkOWZhZTg3NTg4NzQwN2E
mp:
configs:
- appId: wxf085386aa07c0857
secret: aabd075d2851764714fd14a0d0b1b8b4
token: rymcu
aesKey: NWIwMDQyZjU0YWI2NGFlZThkOWZhZTg3NTg4NzQwN2E
- appId: wxa49093339a5a822b
secret: 29e9390e6d58d57a2b2a2350dbee8754
token: qwert
aesKey:
miniapp:
configs:
- appid: wxf57df4f171606a26
secret: 574ff86cb48a42f3980b221e942c53b1
token: #微信小程序消息服务器配置的token
aesKey: #微信小程序消息服务器配置的EncodingAESKey
msgDataFormat: JSON
env: pord
logging: logging:
file: file:
path: /logs/vertical path: /logs/vertical
level:
com:
rymcu:
vertical:
wx: debug
web: debug
server: server:
port: 8099 port: 8099
servlet: servlet:
context-path: /vertical context-path: /vertical
compression:
enabled: true
mime-types: application/json,application/xml,text/html,text/xml,text/plain
min-response-size: 1024
max-http-header-size: 1024
version: 1.0 version: 1.0
resource: resource:
domain: https://rymcu.com file-path: https://abc.com/vertical
file-path: https://rymcu.com/vertical
baidu: baidu:
data: data:
site: https://www.rymcu.com site: https://abc.com # 百度搜索资源配置网址
token: 9cdKR6bVCJzxDEJS token: xxxx # 百度搜索资源token
reserved-words: \u7cfb\u7edf\u516c\u544a\u002c\u516c\u544a