Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
shop-Mall
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
licc
shop-Mall
Commits
7f44559d
Commit
7f44559d
authored
Mar 22, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
77daa080
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
14 deletions
+26
-14
application-prod.yml
wisenergy-web-admin/src/main/resources/application-prod.yml
+26
-14
No files found.
wisenergy-web-admin/src/main/resources/application-prod.yml
View file @
7f44559d
logging
:
level
:
root
:
info
com.sinosoft
:
info
spring
:
datasource
:
type
:
com.alibaba.druid.pool.DruidDataSource
druid
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://
localhost:3306/dydb?useUnicode=true&characterEncoding=UTF-8
&serverTimezone=GMT%2B8
username
:
root
password
:
root
url
:
jdbc:mysql://
127.0.0.1:3306/shop_mall?useUnicode=true
&serverTimezone=GMT%2B8
username
:
xitiansen
password
:
RmRDH8xCxDjDjxM5
initial-size
:
10
max-active
:
100
min-idle
:
10
# 配置获取连接等待超时的时间
max-wait
:
60000
pool-prepared-statements
:
true
max-pool-prepared-statement-per-connection-size
:
20
time-between-eviction-runs-millis
:
60000
validationQuery
:
select 'x'
min-evictable-idle-time-millis
:
300000
#Oracle需要打开注释
#validation-query: SELECT 1 FROM DUAL
test-while-idle
:
true
...
...
@@ -37,22 +32,39 @@ spring:
wall
:
config
:
multi-statement-allow
:
true
#
redis配置
#
/www/server/redis/src/redis-server
redis
:
open
:
false
# 是否开启redis缓存 true开启 false关闭
database
:
0
host
:
localhost
host
:
127.0.0.1
port
:
6379
password
:
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
password
:
1qaz@WSX
timeout
:
6000ms
jedis
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle
:
10
# 连接池中的最大空闲连接
min-idle
:
5
# 连接池中的最小空闲连接
###上传文件配置 :该配置可根据部署的系统或开发人员自定义路径,每次部署之前需要修改location
uploadFile
:
resourceHandler
:
/upload_flowChart/**
#请求 url 中的资源映射也是保存到数据库中的父级路径
location
:
/opt/images/upload_flowChart/
#自定义上传文件服务器硬盘保存路径 ,linux服务器保存路径 /home/changfa/app/wxbjgkpt/upload_flowChart/
file
:
upload
:
path
:
/opt/images/
jwt
:
# 加密秘钥
secret
:
f4e2e52034348f86b67cde581c0f9eb5
# token有效时长,单位秒
expire
:
14400
\ No newline at end of file
expire
:
14400
logging
:
config
:
classpath:logback-spring.xml
sms
:
accessKeyId
:
LTAI4G6xmYPhjrS18Bxz5Kqu
secret
:
l3ZuSn2XjsFZXaB3yb8O5ASRJh3DDe
regionId
:
cn-hangzhou
domain
:
dysmsapi.aliyuncs.com
version
:
2017-05-25
action
:
SendSms
signName
:
西田森生物科技
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment