refactor(config): 调整配置文件及服务端口,注释敏感信息并优化Nacos配置
This commit is contained in:
@@ -1,107 +1,107 @@
|
||||
########################## 统一变量配置 ##########################
|
||||
##### 数据库配置
|
||||
zlt.datasource.ip=127.0.0.1
|
||||
zlt.datasource.username=root
|
||||
zlt.datasource.password=root
|
||||
#zlt.datasource.ip=sh-cdb-i6yxaaec.sql.tencentcdb.com:58797
|
||||
########################### 统一变量配置 ##########################
|
||||
###### 数据库配置
|
||||
#zlt.datasource.ip=127.0.0.1
|
||||
#zlt.datasource.username=root
|
||||
#zlt.datasource.password=ZXC_zxc!@#123+
|
||||
|
||||
##### redis配置
|
||||
spring.data.redis.host=192.168.2.20
|
||||
spring.data.redis.port=6379
|
||||
spring.data.redis.password=ikingtec123456
|
||||
spring.data.redis.database=8
|
||||
spring.data.redis.timeout=5000
|
||||
|
||||
##### elasticsearch配置
|
||||
zlt.elasticsearch.uris=192.168.28.130:9200
|
||||
zlt.elasticsearch.username=elastic
|
||||
zlt.elasticsearch.password=qEnNfKNujqNrOPD9q5kb
|
||||
|
||||
##### sentinel配置
|
||||
zlt.sentinel.dashboard=192.168.28.130:6999
|
||||
|
||||
##### fastDFS配置
|
||||
zlt.fdfs.web-url=192.168.28.130
|
||||
zlt.fdfs.trackerList=${zlt.fdfs.web-url}:22122
|
||||
|
||||
##### s3配置
|
||||
zlt.s3.access-key=Hq78CaYg2BI6ZfxCRMKI
|
||||
zlt.s3.accessKeySecret=DJCt5q9K7GQ2zcBEfr3twb1vQ6BgUW1LKFlI5NSw
|
||||
zlt.s3.endpoint=http://220.205.16.27:9000
|
||||
zlt.s3.bucketName=gofly-test
|
||||
zlt.s3.region=us-east-1
|
||||
|
||||
zlt.oss.secretId=LTAI5tSNV1RvexXpMMCZhxSe
|
||||
zlt.oss.secretKey=XocJRWU8emwjjvYLTrc04l91VZMkQK
|
||||
zlt.oss.endpoint=https://oss-cn-beijing.aliyuncs.com
|
||||
zlt.oss.bucketName=goflyapp
|
||||
|
||||
#### cos配置
|
||||
zlt.cos.secretId=AKIDkMn6B3h7KJ5dIkyzpRr7C6mFUqFWbu1u
|
||||
zlt.cos.secretKey=jDThssfEZieS4S8bqsgIiAUdbXVVYgdQ
|
||||
zlt.cos.endpoint=gofly-1333114031.cos.ap-nanjing.myqcloud.com
|
||||
zlt.cos.bucketName=gofly-1333114031
|
||||
zlt.cos.region=ap-nanjing
|
||||
|
||||
# 数据迁移配置
|
||||
zlt.storage.hot-data-days=30
|
||||
zlt.storage.enable-time-window=false
|
||||
zlt.migration.enable-verification: true
|
||||
|
||||
|
||||
##### 日志链路追踪
|
||||
zlt.trace.enable=true
|
||||
|
||||
##### è´è½½åè¡¡é离(versioné离ï¼åªéç¨äºå¼åç¯å¢)
|
||||
zlt.ribbon.isolation.enabled=false
|
||||
|
||||
##### mybatis-plusæå°å®æ´sql(åªéç¨äºå¼åç¯å¢)
|
||||
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
# å¼å¯çæ¬è·¯ç±
|
||||
#zlt.loadbalance.isolation.enabled=true
|
||||
|
||||
zlt.security.tencent.appId=wx0c3cc6f1d297644d
|
||||
zlt.security.tencent.appSecret=9d344e6c86b42105b6e4a018f242e233
|
||||
zlt.security.tencent.token=YPbzETU8oe3XguGgwtA4g1DqlFKvw7pT
|
||||
zlt.security.tencent.encodingAESKey=YPbzETU8oe3XguGgwtA4g1DqlFKvw7pTZiyHTxCiQxh
|
||||
zlt.security.tencent.templateId=YOUR_TEMPLATE_ID
|
||||
zlt.security.tencent.jscode2sessionUrl=https://api.weixin.qq.com/sns/jscode2session
|
||||
zlt.security.tencent.accessTokenUrl=https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=${zlt.security.tencent.appId}&secret=${zlt.security.tencent.appSecret}
|
||||
zlt.security.tencent.getwxacodeUrl=https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode?access_token=
|
||||
zlt.security.tencent.pagePath=/pages/link/link?uuid=
|
||||
|
||||
|
||||
# 微信支付商户号
|
||||
zlt.wxpay.merchantId=1703796518
|
||||
# 商户证书序列号
|
||||
zlt.wxpay.merchantSerialNumber=11F4AC03C50EB582D3EDE082591D1F9A65388D51
|
||||
# 微信支付申请的应用ID
|
||||
zlt.wxpay.appId=wx30a3c8de94a85584
|
||||
# 微信支付异步通知地址(需外网可访问且与微信支付平台配置一致)
|
||||
zlt.wxpay.notifyUrl=https://img.goflytec.com/api-order/wechat/pay/notify
|
||||
# 微信退款异步通知地址(需外网可访问且与微信支付平台配置一致)
|
||||
zlt.wxrefund.notifyUrl= https://img.goflytec.com/api-order/wechat/refund/notify
|
||||
# 商户API私钥路径
|
||||
zlt.wxpay.privateKeyPath=D:\\wx\\WXCertUtil\\cert\\1703796518_20250114_cert\\apiclient_key.pem
|
||||
# 商户APIV3密钥
|
||||
zlt.wxpay.apiV3Key=aIt5Vw3cYXSCSd4L5h14kIyDsoXBow7r
|
||||
|
||||
|
||||
zlt.tenant.id: webApp
|
||||
|
||||
# 选择服务商:TENCENT 或 ALIYUN
|
||||
sms.provider=ALIYUN
|
||||
|
||||
# 腾讯云短信配置
|
||||
sms.tencent.appId=1400xxxxxxx # 短信应用ID
|
||||
sms.tencent.secretId=AKIDxxxxxxx # 控制台API密钥
|
||||
sms.tencent.secretKey=xxxxxxxxxxxx # 控制台API密钥
|
||||
sms.tencent.signName=xxx
|
||||
|
||||
# 阿里云短信配置
|
||||
sms.aliyun.accessKeyId=xxx
|
||||
sms.aliyun.accessKeySecret=xxx
|
||||
sms.aliyun.signName=xxx
|
||||
#zlt.datasource.password=root
|
||||
##zlt.datasource.ip=sh-cdb-i6yxaaec.sql.tencentcdb.com:58797
|
||||
##zlt.datasource.username=root
|
||||
##zlt.datasource.password=ZXC_zxc!@#123+
|
||||
#
|
||||
###### redis配置
|
||||
#spring.data.redis.host=192.168.2.20
|
||||
#spring.data.redis.port=6379
|
||||
#spring.data.redis.password=ikingtec123456
|
||||
#spring.data.redis.database=8
|
||||
#spring.data.redis.timeout=5000
|
||||
#
|
||||
###### elasticsearch配置
|
||||
#zlt.elasticsearch.uris=192.168.28.130:9200
|
||||
#zlt.elasticsearch.username=elastic
|
||||
#zlt.elasticsearch.password=qEnNfKNujqNrOPD9q5kb
|
||||
#
|
||||
###### sentinel配置
|
||||
#zlt.sentinel.dashboard=192.168.28.130:6999
|
||||
#
|
||||
###### fastDFS配置
|
||||
#zlt.fdfs.web-url=192.168.28.130
|
||||
#zlt.fdfs.trackerList=${zlt.fdfs.web-url}:22122
|
||||
#
|
||||
###### s3配置
|
||||
#zlt.s3.access-key=Hq78CaYg2BI6ZfxCRMKI
|
||||
#zlt.s3.accessKeySecret=DJCt5q9K7GQ2zcBEfr3twb1vQ6BgUW1LKFlI5NSw
|
||||
#zlt.s3.endpoint=http://220.205.16.27:9000
|
||||
#zlt.s3.bucketName=gofly-test
|
||||
#zlt.s3.region=us-east-1
|
||||
#
|
||||
#zlt.oss.secretId=LTAI5tSNV1RvexXpMMCZhxSe
|
||||
#zlt.oss.secretKey=XocJRWU8emwjjvYLTrc04l91VZMkQK
|
||||
#zlt.oss.endpoint=https://oss-cn-beijing.aliyuncs.com
|
||||
#zlt.oss.bucketName=goflyapp
|
||||
#
|
||||
##### cos配置
|
||||
#zlt.cos.secretId=AKIDkMn6B3h7KJ5dIkyzpRr7C6mFUqFWbu1u
|
||||
#zlt.cos.secretKey=jDThssfEZieS4S8bqsgIiAUdbXVVYgdQ
|
||||
#zlt.cos.endpoint=gofly-1333114031.cos.ap-nanjing.myqcloud.com
|
||||
#zlt.cos.bucketName=gofly-1333114031
|
||||
#zlt.cos.region=ap-nanjing
|
||||
#
|
||||
## 数据迁移配置
|
||||
#zlt.storage.hot-data-days=30
|
||||
#zlt.storage.enable-time-window=false
|
||||
#zlt.migration.enable-verification: true
|
||||
#
|
||||
#
|
||||
###### 日志链路追踪
|
||||
#zlt.trace.enable=true
|
||||
#
|
||||
###### è´è½½åè¡¡é离(versioné离ï¼åªéç¨äºå¼åç¯å¢)
|
||||
#zlt.ribbon.isolation.enabled=false
|
||||
#
|
||||
###### mybatis-plusæå°å®æ´sql(åªéç¨äºå¼åç¯å¢)
|
||||
#mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
#
|
||||
## å¼å¯çæ¬è·¯ç±
|
||||
##zlt.loadbalance.isolation.enabled=true
|
||||
#
|
||||
#zlt.security.tencent.appId=wx0c3cc6f1d297644d
|
||||
#zlt.security.tencent.appSecret=9d344e6c86b42105b6e4a018f242e233
|
||||
#zlt.security.tencent.token=YPbzETU8oe3XguGgwtA4g1DqlFKvw7pT
|
||||
#zlt.security.tencent.encodingAESKey=YPbzETU8oe3XguGgwtA4g1DqlFKvw7pTZiyHTxCiQxh
|
||||
#zlt.security.tencent.templateId=YOUR_TEMPLATE_ID
|
||||
#zlt.security.tencent.jscode2sessionUrl=https://api.weixin.qq.com/sns/jscode2session
|
||||
#zlt.security.tencent.accessTokenUrl=https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=${zlt.security.tencent.appId}&secret=${zlt.security.tencent.appSecret}
|
||||
#zlt.security.tencent.getwxacodeUrl=https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode?access_token=
|
||||
#zlt.security.tencent.pagePath=/pages/link/link?uuid=
|
||||
#
|
||||
#
|
||||
## 微信支付商户号
|
||||
#zlt.wxpay.merchantId=1703796518
|
||||
## 商户证书序列号
|
||||
#zlt.wxpay.merchantSerialNumber=11F4AC03C50EB582D3EDE082591D1F9A65388D51
|
||||
## 微信支付申请的应用ID
|
||||
#zlt.wxpay.appId=wx30a3c8de94a85584
|
||||
## 微信支付异步通知地址(需外网可访问且与微信支付平台配置一致)
|
||||
#zlt.wxpay.notifyUrl=https://img.goflytec.com/api-order/wechat/pay/notify
|
||||
## 微信退款异步通知地址(需外网可访问且与微信支付平台配置一致)
|
||||
#zlt.wxrefund.notifyUrl= https://img.goflytec.com/api-order/wechat/refund/notify
|
||||
## 商户API私钥路径
|
||||
#zlt.wxpay.privateKeyPath=D:\\wx\\WXCertUtil\\cert\\1703796518_20250114_cert\\apiclient_key.pem
|
||||
## 商户APIV3密钥
|
||||
#zlt.wxpay.apiV3Key=aIt5Vw3cYXSCSd4L5h14kIyDsoXBow7r
|
||||
#
|
||||
#
|
||||
#zlt.tenant.id: webApp
|
||||
#
|
||||
## 选择服务商:TENCENT 或 ALIYUN
|
||||
#sms.provider=ALIYUN
|
||||
#
|
||||
## 腾讯云短信配置
|
||||
#sms.tencent.appId=1400xxxxxxx # 短信应用ID
|
||||
#sms.tencent.secretId=AKIDxxxxxxx # 控制台API密钥
|
||||
#sms.tencent.secretKey=xxxxxxxxxxxx # 控制台API密钥
|
||||
#sms.tencent.signName=xxx
|
||||
#
|
||||
## 阿里云短信配置
|
||||
#sms.aliyun.accessKeyId=xxx
|
||||
#sms.aliyun.accessKeySecret=xxx
|
||||
#sms.aliyun.signName=xxx
|
||||
|
||||
Reference in New Issue
Block a user