You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
171 lines
3.9 KiB
YAML
171 lines
3.9 KiB
YAML
2 years ago
|
#Spring
|
||
|
spring:
|
||
|
datasource:
|
||
|
hikari:
|
||
|
dynamic:
|
||
|
primary: wip #设置默认的数据源或者数据源组,默认值即为master
|
||
|
datasource:
|
||
|
wip:
|
||
|
url: jdbc:oracle:thin:@172.16.251.133:1521/ORQ
|
||
|
username: wip
|
||
|
password: wip
|
||
|
driver-class-name: oracle.jdbc.OracleDriver
|
||
|
druid:
|
||
|
filters: stat,wall,log4j2
|
||
|
initial-size: 5
|
||
|
max-active: 50
|
||
|
min-idle: 5
|
||
|
max-wait: 60000
|
||
|
validation-query: SELECT 'x' FROM DUAL
|
||
|
test-on-borrow: true
|
||
|
test-on-return: true
|
||
|
test-while-idle: true
|
||
|
time-between-eviction-runs-millis: 60000
|
||
|
min-evictable-idle-time-millis: 300000
|
||
|
remove-abandoned: true
|
||
|
remove-abandoned-timeout: 1800
|
||
|
log-abandoned: true
|
||
|
web-stat-filter:
|
||
|
enabled: true
|
||
|
url-pattern: /*
|
||
|
exclusions: '*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*'
|
||
|
stat-view-servlet:
|
||
|
enabled: true
|
||
|
url-pattern: /druid/*
|
||
|
reset-enable: false
|
||
|
stat:
|
||
|
log-slow-sql: true
|
||
|
merge-sql: true
|
||
|
slow-sql-millis: 100
|
||
|
activemq:
|
||
|
enabled: true
|
||
|
brokerUrl: tcp://localhost:61616?wireFormat.maxInactivityDuration=0
|
||
|
password: admin
|
||
|
user: admin
|
||
|
pool:
|
||
|
enabled: true
|
||
|
max-connections: 10
|
||
|
topic: class_receiver
|
||
|
|
||
|
#发送消息
|
||
|
activemq:
|
||
|
brokerUrl: tcp://localhost:61616?wireFormat.maxInactivityDuration=0
|
||
|
password: admin
|
||
|
user: admin
|
||
|
pool:
|
||
|
enabled: false
|
||
|
max-connections: 10
|
||
|
#activemq:
|
||
|
# brokerUrl: tcp://172.16.170.164:61616?wireFormat.maxInactivityDuration=0
|
||
|
# password: admin
|
||
|
# user: admin
|
||
|
# pool:
|
||
|
# enabled: true
|
||
|
# max-connections: 10
|
||
|
|
||
|
#WebService
|
||
|
ws:
|
||
|
erp:
|
||
|
server: srm.mesnac.com
|
||
|
port: 8000
|
||
|
user: mes001
|
||
|
pwd: mesprd1
|
||
|
valid: Y
|
||
|
enabled: false
|
||
|
|
||
|
#quartz任务启用
|
||
|
quartz:
|
||
|
enabled: false
|
||
|
|
||
|
#打印服务器配置
|
||
|
print:
|
||
|
server: http://localhost:8080/CodeSoftPrintWeb/printService
|
||
|
|
||
|
mepapi:
|
||
|
server: 113.98.201.217
|
||
|
port: 50400
|
||
|
username: site_admin
|
||
|
password: Sap12345
|
||
|
|
||
|
#邮箱服务配置
|
||
|
mail:
|
||
|
host: 127.0.0.1
|
||
|
from: Leon@857.com
|
||
|
username:
|
||
|
password:
|
||
|
|
||
|
#短信服务配置
|
||
|
mobile:
|
||
|
url: https://mb345.com/ws/BatchSend2.aspx?CorpID=USER_NAME&Pwd=PASS_WORD&Mobile=LIST_PHONE&Content=SEND_CONTENT&Cell=CELL&SendTime=SEND_TIME
|
||
|
username:
|
||
|
password:
|
||
|
|
||
|
#微信服务配置
|
||
|
wechat:
|
||
|
corpId: wwe165c947675eca6e
|
||
|
agentId: 1000002
|
||
|
secret: 12xgztk0Z7RqehAl6CnoGmmyD0LTJKhQOldoMm5gYhE
|
||
|
accessTokenUrl: https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=ID&corpsecret=SECRET
|
||
|
postUrl: https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=ACCESS_TOKEN
|
||
|
|
||
|
#ftp文档服务器
|
||
|
#ftp:
|
||
|
# host: 10.4.1.53
|
||
|
# port: 21
|
||
|
# username:
|
||
|
# password:
|
||
|
|
||
|
ftp:
|
||
|
host: 106.52.244.124
|
||
|
port: 21
|
||
|
username: zjw
|
||
|
password: zhaojiawei
|
||
|
activeMq:
|
||
|
sendWeChatMessage: tcp://localhost:61616?wireFormat.maxInactivityDuration=0
|
||
|
queue: send.weChat.notice
|
||
|
exportDocument:
|
||
|
filePath: /Users/zhaojiawei/Desktop/青岛项目后台/mesnac6.biz/production/src/main/resources/
|
||
|
outputPath: /Users/zhaojiawei/Desktop/
|
||
|
template: SFC_SCRAP_TEMPLATE.ftl
|
||
|
|
||
|
drawingftp:
|
||
|
server: 172.16.77.182
|
||
|
port: 22
|
||
|
username: drawing
|
||
|
password: mesnac1104
|
||
|
uploadDir:
|
||
|
downloadDir:
|
||
|
#cappftp:
|
||
|
# server: 172.16.251.70
|
||
|
# port: 9003
|
||
|
# username: Administrator
|
||
|
# password: cappnew@123
|
||
|
# uploadDir:
|
||
|
# downloadDir:
|
||
|
cappftp:
|
||
|
server: 172.16.251.187
|
||
|
port: 8091
|
||
|
username: Administrator
|
||
|
password: mes@123
|
||
|
uploadDir:
|
||
|
downloadDir:
|
||
|
|
||
|
#exportLabel:
|
||
|
# qrPath: /exportpdf/QRCODE.jpg
|
||
|
# destPath: /exportpdf
|
||
|
# original: /exportpdf/original.png
|
||
|
# finall: /exportpdf/finall.png
|
||
|
# filepatch: /exportpdf/标签导出.pdf
|
||
|
exportLabel:
|
||
|
qrPath: D:\\img\\QRCODE.jpg
|
||
|
destPath: D:\\img\\
|
||
|
original: D:\\img\\original.png
|
||
|
finall: D:\\img\\finall.png
|
||
|
filepatch: D:\\img\\Label.pdf
|
||
|
|
||
|
yunBpmConfig:
|
||
|
userName: zhangzy
|
||
|
passWord: 123456
|
||
|
apiBaseUrl: http://172.16.77.181:8080
|
||
|
yunBpmUrl: http://yunbpmcs.mesnac.com:8080
|