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 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} videos: edit-config: url: ${VIDEOS_EDIT_URL:http://example.com/api/edit} app-id: ${VIDEOS_APP_ID:gcb4432dcc7e4e3a92063807f3e75d58} callback-url: ${VIDEOS_CALLBACK_URL:http://img.goflytec.com/api-order/auto/cut/callback} aliyun: ims: endpoint: ice.cn-shanghai.aliyuncs.com access-key-id: ${ALIYUN_ACCESS_KEY_ID} access-key-secret: ${ALIYUN_ACCESS_KEY_SECRET} region: cn-shanghai project-name: ${IMS_PROJECT_NAME} pipeline-name: ${IMS_PIPELINE_NAME} template-id: ${IMS_TEMPLATE_ID} callback-url: ${IMS_CALLBACK_URL} bucket: ${OSS_BUCKET_NAME}