@@ -1,69 +1,66 @@
spring :
#spring:
datasource :
# datasource:
# url: jdbc:mysql://${zlt.datasource.ip}:3306/device-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
# # url: jdbc:mysql://${zlt.datasource.ip}:3306/device-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
url : jdbc:mysql://${zlt.datasource.ip}/coupon-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai&allowMultiQueries=true
# url: jdbc:mysql://${zlt.datasource.ip}/coupon-center-test ?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai&allowMultiQueries=true
username : ${zlt.datasource.username}
# username: ${zlt.datasource.username}
password : ${zlt.datasource.password}
# password: ${zlt.datasource.password}
driver-class-name : com.mysql.cj.jdbc.Driver
# driver-class-name: com.mysql.cj.jdbc.Driver
# 环境配置:test(测试环境) / prod(生产环境)
#
profiles :
#mybatis-plus:
active : test
# mapper-locations: classpath:/mapper/*Mapper.xml
# #实体扫描,多个package用逗号或者分号分隔
mybatis-plus :
# typeAliasesPackage: com.central.coupon.model
mapper-locations : classpath:/mapper/*Mapper.xml
# # configuration:
#实体扫描,多个package用逗号或者分号分隔
# # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
typeAliasesPackage : com.central.coupon.model
# global-config:
# configuration :
# db-config :
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# id-type: auto
global-config :
#
db-config :
#springdoc:
id-type : auto
# group-configs:
# - group: 'default'
springdoc :
# paths-to-match: '/**'
group-configs :
# packages-to-scan: com.central.coupon.controller
- group : 'default'
#
paths-to-match : '/**'
#knife4j:
packages-to-scan : com.central.coupon.controller
# enable: true
# setting:
knife4j :
# swagger-model-name: 优惠券中心接口文档
enable : true
#zlt:
setting :
# #多租户配置
swagger-model-name : 优惠券中心接口文档
# tenant:
zlt :
# enable: false
#多租户配置
# ignoreTables:
tenant :
# ignoreSqls:
enable : false
# # 禁用分布式锁
ignoreTables :
# lock:
ignoreSqls :
# lockerType: NONE
# 禁用分布式锁
#
lock :
## 日志配置
lockerType : NONE
#logging:
# level:
# 日志配置
# com.central.order.controller.OrderFileController: DEBUG
logging :
# com.central.coupon.util.CtripDecryptUtil: DEBUG
level :
# com.central.coupon.service.impl.OrderDetailServiceImpl: DEBUG
com.central.order.controller.OrderFileController : DEBUG
#
com.central.coupon.util.CtripDecryptUtil : DEBUG
## 携程API配置
com.central.coupon.service.impl.OrderDetailServiceImpl : DEBUG
#ctrip:
# # AES加密配置
# 携程API配置
# aes:
ctrip :
# key: 6196f64f4f6e5dca # 为实际的AES密钥
# AES加密配置
# iv: 28405d20246ecccd # 为实际的AES IV
aes :
# # 签名配置(使用账户密钥进行签名计算)
key : 6196f64f4f6e5dca # 为实际的AES密钥
# # API配置
iv : 28405d20246ecccd # 为实际的AES IV
# api:
# 签名配置(使用账户密钥进行签名计算)
# # 测试环境URL
# API配置
# test-url: https://ttdopen.ctrip.com/api
api :
# # 生产环境URL
# 测试环境URL
# prod-url: https://ttdentry.ctrip.com/ttd-connect-orderentryapi/supplier
test-url : https://ttdopen.ctrip.com/api
# # 当前环境(test/prod)
# 生产环境URL
# environment: prod
prod-url : https://ttdentry.ctrip.com/ttd-connect-orderentryapi/supplier
# timeout: 30000 # 请求超时时间(毫秒)
# 当前环境(test/prod)
# retry-times: 3 # 重试次数
environment : prod
# # 账户配置
timeout : 30000 # 请求超时时间(毫秒)
# account:
retry-times : 3 # 重试次数
# id: e02647943fdfb4c5 # 为实际的账户ID
# 账户配置
# secret: 0b4f4dabb50999cb04a773fc96f81499 # 实际的账户密钥
account :
id : e02647943fdfb4c5 # 为实际的账户ID
secret : 0b4f4dabb50999cb04a773fc96f81499 # 实际的账户密钥