jiangping
2023-12-12 037c144cd417410deb8137c6f3fd271a34691742
server/services/src/main/resources/application-pro.yml
@@ -5,16 +5,16 @@
spring:
  # 数据源配置
  datasource:
    url: jdbc:postgresql://175.27.187.84:5432/park_bike?stringtype=unspecified&serverTimezone=GMT%2B8
    username: postgres
    password: Doumee@168
    url: jdbc:postgresql://pgm-8vb8je6y0qbu2n1vlo.pgsql.zhangbei.rds.aliyuncs.com:3433/park_bike?stringtype=unspecified&serverTimezone=GMT%2B8
    username: parkbike
    password: parkbikeQWERT!@#$%
    driver-class-name: org.postgresql.Driver
  jpa:
    properties:
      hibernate:
        dialect: org.hibernate.dialect.PostgreSQLDialect
        #        hbm2ddl:
        #          auto: update
        #hbm2ddl:
        #auto: update
        temp:
          use_jdbc_metadata_defaults: false
  redis:
@@ -22,8 +22,8 @@
    host: localhost
    port: 6379
    password:
    #    password: r-uf6is6x17arnu44bem:tlt_2022
    timeout: 5000      # 连接池中的最小空闲连接
    # password: r-uf6is6x17arnu44bem:tlt_2022
    timeout: 5000 # 连接池中的最小空闲连接
knife4j:
  enable: true
@@ -32,9 +32,7 @@
    username: admin
    password: 111111
debug_model: true
# 是否需要验证码
captcha_check: false
debug_model: false
# Swagger配置
swagger:
  host:
@@ -43,3 +41,27 @@
  enabled: true
  # 禁用swagger时的重定向地址
  redirect-uri: /
########################微信支付相关配置########################
wx:
  pay:
    appId: wxcd2b89fd2ff065f8
    appSecret: 1ceb7c9dff3c4330d653adc3ca55ea24
    mchId: 1229817002
    mchKey: u4TSNtv0wFP7WRfnxBgijYOtRhS9FvlM
    notifyUrl: https://bikes.yxbhlt.cn/bike_h5_api/api/wxPayNotify
    keyPath: /usr/local/apiclient_cert.p12
########################mqtt相关配置########################
mqtt:
  host: tcp://39.100.125.239:1883
  username: parkbike
  password: parkbike@168
  version: 003
tencent:
  map:
    remoteHost: https://apis.map.qq.com
    appKey: 3AYBZ-I5R3V-2BVP3-UWBDQ-ETBM5-B2BBQ