njzscloud/njzscloud-svr/src/main/resources/application-dev.yml

98 lines
2.9 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

spring:
datasource:
# url: jdbc:mysql://47.115.226.143:3306/njzscloud?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true&allowMultiQueries=true
# username: root
# password: zsy2022
url: jdbc:mysql://localhost:33061/njzscloud?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true&allowMultiQueries=true
username: root
password: admin888999
security:
auth-ignores:
- /auth/obtain_code
- /user/register
- /oss/**
- /district/tree
- /sys_sn_config/add
- /test/**
- /device_info/report1
- /device_info/report2
- /geo_fence_config/**
- /statistics/**
- /district/default_place
- /bulletin/detail
- /bulletin/paging
- /truck_location_track/**
- /fdx
- /payment/wechat/notify
- /payment/wechat/refundNotify
- /district/areaList
- /biz_audit_config/copy
- /order_info/gps_test
- /wechatTemplateMessage/bind
- /hsoa/push_order
app:
default-place:
province: 320000
city: 320100
province-name: 江苏省
city-name: 南京市
# province: 340000
# city: 341100
# province-name: 安徽省
# city-name: 滁州市
oss:
type: ali
ali:
region: cn-shanghai
endpoint: oss-cn-shanghai.aliyuncs.com
access-key: LTAI5tJJu2WayYchExrT5W1E
secret-key: zllX0ZJ1EwsZXT6dE6swCLgTF4ImGg
bucket-name: cdn-zsy
ssh-tunnel:
enable: true
tunnels:
- enable: true
host: 139.224.54.144
port: 22
user: root
# 添加虚拟机参数:-DTUNNEL1_CREDENTIAL=证书文件地址
credentials: ${TUNNEL1_CREDENTIAL:}
proxy:
- localPort: 33061
targetHost: localhost
targetPort: 33061
wechat:
# app-id: wx3c06d9dd4e56c58d
# app-secret: ff280a71a4c06fc2956178f8c472ef96
app-id: wx989ea47a5ddf9bfb
app-secret: 66c98dc487a372acb4f1931b38fee8ff
base-url: https://api.weixin.qq.com
pay:
app-id: wx989ea47a5ddf9bfb
mch-id: 1729703110
# API密钥32位字符串
api-key: KXM36nZCXji1sQt75tGk77k7b2K5RBpf
# 证书序列号
cert-serial-no: 1BCB1533688F349541C7B636EF67C666828BADBA
# 文件路径
private-key-path: classpath:cert/apiclient_cert.p12
# private-key-path: D:/project/再昇云/代码/njzscloud/njzscloud-svr/src/main/resources/cert/apiclient_cert.p12
# 支付回调地址
notify-url: http://115.29.236.92:8082/payment/wechat/notify
# 退款回调地址
refund-notify-url: http://115.29.236.92:8082/payment/wechat/refundNotify
mqtt:
enabled: true
broker: tcp://139.224.54.144:1883
client-id: njzscloud-svr1
username: gps
password: TKG4TV3dF7CeazDnUdCF
hsoa:
base-url: http://60.173.195.121:9908
username: chuz_trajectory
password: e9t2YsgM5ug%2FkpIZpMdY9e9uXq60jyEQ30zQX%2BBzphI%3D