Files
gofly-platform-services/zlt-business/order-center/src/main/resources/application.yml
T
lishilin 84eca04230 Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit.

On branch develop
Your branch is up to date with 'goflyapp/develop'.

Changes to be committed:
	modified:   zlt-business/order-center/src/main/resources/application.yml
	modified:   zlt-gateway/sc-gateway/src/main/resources/application.yml
	modified:   zlt-web/react-web/src/main/frontend/src/pages/device/Device/index.tsx
	modified:   zlt-web/react-web/src/main/frontend/src/pages/orders/Qrcode/index.tsx
	modified:   zlt-web/react-web/src/main/frontend/src/services/device/api.ts

Changes not staged for commit:
	modified:   zlt-web/react-web/src/main/frontend/config/config.ts
	modified:   zlt-web/react-web/src/main/frontend/package.json
	modified:   zlt-web/react-web/src/main/frontend/src/app.tsx
2025-04-30 12:58:15 +08:00

101 lines
3.5 KiB
YAML

spring:
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}/order-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai&allowMultiQueries=true
username: ${zlt.datasource.username}
password: ${zlt.datasource.password}
driver-class-name: com.mysql.cj.jdbc.Driver
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
#实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage: com.central.device.model
# configuration:
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
id-type: auto
springdoc:
group-configs:
- group: 'default'
paths-to-match: '/**'
packages-to-scan: com.central.order.controller
knife4j:
enable: true
setting:
swagger-model-name: 订单中心接口文档
# 微信支付商户号
tencent:
merchantId: ${zlt.wxpay.merchantId}
# 微信支付商户密钥
merchantSerialNumber: ${zlt.wxpay.merchantSerialNumber}
# 微信支付申请的应用ID
appId: ${zlt.wxpay.appId}
# 微信支付异步通知地址(需外网可访问且与微信支付平台配置一致)
notifyUrl: ${zlt.wxpay.notifyUrl}
# 微信支付API证书路径(如果需要证书的情况下,这里填写证书相关文件的路径)
privateKeyPath: ${zlt.wxpay.privateKeyPath}
apiV3Key: ${zlt.wxpay.apiV3Key}
appSecret: ${zlt.security.tencent.app-secret}
accessTokenUrl: ${zlt.security.tencent.accessTokenUrl}
getwxacodeUrl: https://api.weixin.qq.com/wxa/getwxacode?access_token=
# 微信退款通知地址
refund-notify-url: ${zlt.wxrefund.notifyUrl}
notification:
app-id:
app-secret:
token:
encoding-aes-key:
pay:
profit-sharing:
enabled: true
max-retry-times: 3
retry-interval: 300000
platform-rate: 30
timeout: 1800000
async-enabled: true
async-pool-size: 5
api:
profit-sharing-url: https://api.mch.weixin.qq.com/v3/profitsharing/orders
live:
push-domain: 208280.push.tlivecloud.com
play-domain: goflytec.com
app-name: live
key: 06b20e5b7d637c1128fa1b48ea91a13e
expire-seconds: 3600000
file:
oss-url: goflyapp.oss-cn-beijing.aliyuncs.com
cdn-url: cdn.goflytec.com
style: image/resize,m_mfit,w_300,h_250
#审计日志
# audit-log:
# enabled: true
# log-type: db
# datasource:
# driver-class-name: com.mysql.cj.jdbc.Driver
# jdbc-url: jdbc:mysql://${zlt.datasource.ip}:3306/logger-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
# username: ${zlt.datasource.username}
# password: ${zlt.datasource.password}
aliyun:
ims:
oss-endpoint: oss-cn-beijing.aliyuncs.com
access-key-id: LTAI5tSNV1RvexXpMMCZhxSe
access-key-secret: XocJRWU8emwjjvYLTrc04l91VZMkQK
endpoint: ice.cn-beijing.aliyuncs.com
region: cn-beijing
bucket: goflyapp # 使用实际存在的bucket名称
wx:
mp:
app-id: wx0ea85b13966d88e1
secret: a90637566b2b73f41f8b1dabd64dc32b
template-id:
payment-success: uscmjgLdw0cKBRq8vFyCOPbYj7p-fHuEOIhFwwIAe4A # 支付成功通知模板ID
video-complete: TEMPLATE_ID_2 # 视频完成通知模板ID
video-failure: TEMPLATE_ID_3 # 视频失败通知模板ID