server:
  port: 8080
  servlet:
    context_path: /
  compression:
    enabled: true
    mime-types: application/json,application/xml,text/html,text/xml,text/plain
  error:
    whitelabel:
      enabled: false
spring:
  profiles:
    active: dev
  datasource:
    url: jdbc:mysql://rm-wz9y2p75f51a2o19kbo.mysql.rds.aliyuncs.com:53306/9th_test?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
    username: develop
    password: glV1BJCzcNB9ughR
    hikari:
      minimum-idle: 5
      maximum-pool-size: 30
      auto-commit: true
      idle-timeout: 30000
      max-lifetime: 1800000
      connection-timeout: 30000
      connection-test-query: SELECT 1
  jpa:
    database: MySQL
    database_platform: org.hibernate.dialect.MySQL5InnoDBDialect
    hibernate:
      ddl_auto: update
    properties:
      hibernate:
        enable_lazy_load_no_trans: true
    open-in-view: true
  redis:
    host: 120.78.235.238
    port: 6379
    password: 98dwT6ghgoRVxwcRrDDy
    lettuce:
      pool:
        max_active: 8
        max_idle: 8
        min_idle: 0
  servlet:
    multipart:
      max_file_size: 100MB
      max_request_size: 100MB
  freemarker:
    settings:
      number_format: 0
  cache:
    type: redis
jwt:
  secret: XvAD0kboD76Dpebm
  header: Authorization
  expiration: 2592000 #30days
wx:
  mp:
    app_id: wx32eeacbe7e6e7f6e
    app_secret: fbeb320efd8401ac52c28f4c94389771
  ma:
    app_id: wx6517cbf58115c508
    app_secret: 8af0e8ba28ffddfb7e574e6c7cb6aaf1
    msg_token: msgToken
    msg_aes_key: aesKey
    msg_format: JSON
  pay:
    app-id: wx32eeacbe7e6e7f6e
    mch-id: 1614898941
    mch-key: A2qWTQzN5EkvgeWgmnnTSY4vV3Y6Xxbj
    sub-app-id:
    sub-mch-id:
    key-path: classpath:/cert/apiclient_cert.p12
    notify-url: https://nfttest.9space.vip/notify/order/weixin
    refund-notify-url: https://nfttest.9space.vip/wx/refundNotify
    return-url: https://nfttest.9space.vip/9th/orders
storage:
  provider: aliyun
  local_path: /var/www/upload/
aliyun:
  access-key-id: LTAI5tCtRs8DXBLBsn49qRZX
  access-key-secret: 86uC18LZsfB9JU04BK7ImVXfOytEkG
  oss-end-point: oss-cn-shenzhen.aliyuncs.com
  oss-bucket-name: 9space-2021
  oss-domain: https://9space-2021.oss-cn-shenzhen.aliyuncs.com
general:
  host: https://nfttest.9space.vip
#mychain:
#  rest:
#    bizid: a00e36c5
#    cipher-suit: ec
#    rest-url: https://rest.baas.alipay.com
#    access-id: VB4osv3QHEHBGVZM
#    access-secret: access.key
#    tenantid: HEHBGVZM
#    read-file-from-ext: false
#    account: nine-space-official
#    kmsId: m9U4I0R2HEHBGVZM1635922538317
mychain:
  rest:
    bizid: a00e36c5
    cipher-suit: ec
    rest-url: https://rest.baas.alipay.com
    access-id: 11nv01O0PJCIVRRI
    access-secret: access.key
    tenantid: PJCIVRRI
    read-file-from-ext: false
    account: 9th_test
    kmsId: pf08UBzfPJCIVRRI1632647899655
#alipay:
#  app-id: 2021002187613003
#  gateway: https://openapi.alipay.com/gateway.do
#  private-key: MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCGOg3U1ZIzpyIDvClhIsXqxESGyPe1qyVGTNOzEnm5BaDBuziMfXCFCJmQulBOUIPCTe9nO13xejlBXJZv5ppLk5PWTlmKmBEfFMFBoRxr4X2jIfJY0Ch8RdKfGgaP5aMhAcpGtVSbDYsTQ7C9zTlVkd9KyfA+OkLO6sMN2ruV7zOO0vuov1Q6FsBVcddyUd3LkF7hiQUM57iXUBFXVClsp9kujVXcQNe2kfzZvyg9U/cy+j9iDzo+LTh2gmlUABIAPUFzFLRdtWwKatTo9upVxMT88GYUeoJ9j4qtz7mz/Ea5aUWknZX3M24+Fez+XWeR7QNog5Mh08nwA/anlchFAgMBAAECggEAVBdWxvouKBITK0fcnLBOUjA3xkFtfvED3zEOh+eRPqsZ9YU3fjywG4gxvQwcd5PVmAt/aqs0xa4O5LX+wYg1Lhf8zIw1aLCwOUqlcFphF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/XL2kfmWXv/p91sR0sB1gMz+WLHJzHMglrw+MZGkxPJu3KaQMhtBNt4
#  app-public-key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhjoN1NWSM6ciA7wpYSLF6sREhsj3taslRkzTsxJ5uQWgwbs4jH1whQiZkLpQTlCDwk3vZztd8Xo5QVyWb+aaS5OT1k5ZipgRHxTBQaEca+F9oyHyWNAofEXSnxoGj+WjIQHKRrVUmw2LE0Owvc05VZHfSsnwPjpCzurDDdq7le8zjtL7qL9UOhbAVXHXclHdy5Be4YkFDOe4l1ARV1QpbKfZLo1V3EDXtpH82b8oPVP3Mvo/Yg86Pi04doJpVAASAD1BcxS0XbVsCmrU6PbqVcTE/PBmFHqCfY+Krc+5s/xGuWlFpJ2V9zNuPhXs/l1nke0DaIOTIdPJ8AP2p5XIRQIDAQAB
#  ali-public-key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2KS67bzs6FQ7+PYCm6Zp1gE06VVpuTpV9Mbqn7RqSKmzKZORbL0pG7UyN/Iu3dooNJLQIcxuUDZF6JNgOiX7nxRPyhLud45EXBBR+TUeJCfdSU/7kg2+XBgwD/zzLfj+cAR8SnlmYE5dA81hsM/l1MQrtLTryT/lAHR36eChb6QUnxAwwUZC8QiWDaFerlScJrJG0VJUEKQD6ANV2qP2fmU8IMxNZBT6WMvRvPIN34hCm9B8Kx2Tr8rOjZvwLwVwd1nR5a5mrbwG+kNY7olHW2ICYxJxIxXzypg4jTa5NyW7XR7tdgecRlAGJNxMeBqWwMRmN5l8G2ozV3iOIwhCMQIDAQAB
#  apiKey: CRv5YFAOIEGY5PgVf14Y9g==
#  appCertPath: classpath:cert/appCertPublicKey_2021002120645023.crt
#  aliPubCertPath: classpath:cert/alipayCertPublicKey_RSA2.crt
#  rootCertPath: classpath:cert/alipayRootCert.crt
#  notifyUrl: http://9th.izouma.com/notify/order/alipay
#  returnUrl: http://9th.izouma.com/9th/orders
alipay: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qSKmzKZORbL0pG7UyN/Iu3dooNJLQIcxuUDZF6JNgOiX7nxRPyhLud45EXBBR+TUeJCfdSU/7kg2+XBgwD/zzLfj+cAR8SnlmYE5dA81hsM/l1MQrtLTryT/lAHR36eChb6QUnxAwwUZC8QiWDaFerlScJrJG0VJUEKQD6ANV2qP2fmU8IMxNZBT6WMvRvPIN34hCm9B8Kx2Tr8rOjZvwLwVwd1nR5a5mrbwG+kNY7olHW2ICYxJxIxXzypg4jTa5NyW7XR7tdgecRlAGJNxMeBqWwMRmN5l8G2ozV3iOIwhCMQIDAQAB
  ali-pub-cert-path: classpath:cert/alipayCertPublicKey_RSA2.crt
  api-key: CRv5YFAOIEGY5PgVf14Y9g==
  app-cert-path: classpath:cert/appCertPublicKey_2021002120645023.crt
  root-cert-path: classpath:cert/alipayRootCert.crt
  notify-url: https://nfttest.9space.vip/notify/order/alipay
  return-url: https://nfttest.9space.vip/9th/home
---

spring:
  profiles: test

---

spring:
  profiles: prod
  datasource:
    url: jdbc:mysql://rm-wz9y2p75f51a2o19k.mysql.rds.aliyuncs.com:53306/9th?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
  redis:
    host: 127.0.0.1
    database: 1
general:
  host: https://nft.9space.vip
wx:
  pay:
    notify-url: https://nft.9space.vip/notify/order/weixin
    refund-notify-url: https://nft.9space.vip/wx/refundNotify
    return-url: https://nft.9space.vip/9th/orders
alipay:
  notify-url: https://nft.9space.vip/notify/order/alipay
  return-url: https://nft.9space.vip/9th/home

