application-dev.yml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. # 端口
  2. server:
  3. port: 8099
  4. spring:
  5. # 数据源配置
  6. datasource:
  7. type: com.alibaba.druid.pool.DruidDataSource
  8. url: jdbc:mysql://127.0.0.1:3306/pco_system?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
  9. username: root
  10. password: 123456
  11. # 是否打开sql监控台 (生产环境请务必关闭此选项)
  12. druid:
  13. stat-view-servlet:
  14. enabled: false
  15. web-stat-filter:
  16. enabled: false
  17. filter:
  18. config:
  19. enabled: true
  20. # redis配置
  21. redis:
  22. # Redis数据库索引(默认为0)
  23. database: 1
  24. # Redis服务器地址
  25. host: 127.0.0.1
  26. # Redis服务器连接端口
  27. port: 6379
  28. # Redis服务器连接密码(默认为空)
  29. # password:
  30. # 连接超时时间(毫秒)
  31. timeout: 5000ms
  32. lettuce:
  33. pool:
  34. # 连接池最大连接数
  35. max-active: 200
  36. # 连接池最大阻塞等待时间(使用负值表示没有限制)
  37. max-wait: -1ms
  38. # 连接池中的最大空闲连接
  39. max-idle: 10
  40. # 连接池中的最小空闲连接
  41. min-idle: 0
  42. # 项目自定义配置
  43. myconfig:
  44. # 本项目部署到的服务器域名(文件上传等等模块 要用到)
  45. domain: https://127.0.0.1:8099/pro
  46. web-domain: https://127.0.0.1:8080
  47. part-config:
  48. base-price: 30 #基础费用
  49. extra-price: 10 #过夜额外收费
  50. night-end: 06:00:00 #夜间结束时间
  51. free-minutes: 30
  52. free-car-length: 4.2
  53. tax-rate: 0.09
  54. test-env: true
  55. car:
  56. max-length: 20
  57. max-weight: 50
  58. wx-config:
  59. title: 场站管理系统
  60. flush-second: 12000 #token刷新时间 秒
  61. app-id: wxd40a34141872bf0c
  62. secret: 2e6a69fab1fbab60369ebd21b0882f3e
  63. mach-id: 1615645036
  64. key: dongxingkouanerqiao8888888888888
  65. token: dx1123
  66. access-token-key: wechat:base_token_key
  67. js-api-ticket-key: wechat:jsapi_ticket_key
  68. access-token-url: https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=${wx-config.app-id}&secret=${wx-config.secret}
  69. #弹出让用户确认授权的页面
  70. auth-login-url: https://open.weixin.qq.com/connect/oauth2/authorize?appid=${wx-config.app-id}&redirect_uri=REDIRECT_URI&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect
  71. js-api-token-url: https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=ACCESS_TOKEN&type=jsapi
  72. openid-url: https://api.weixin.qq.com/sns/oauth2/access_token?appid=${wx-config.app-id}&secret=${wx-config.secret}&code=CODE&grant_type=authorization_code
  73. send-msg-url: https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN
  74. business-notice-template: x-uh28Okx9_Wl1ZXsmx_r2vn3KIixZrZqUw-18R0cqY
  75. business-pick-template: M2f0xbVnQNujOCbtDZ6kBGnTK8Uc2Hm7dMguU-dPH9Q
  76. business-confirm-template: aOOyH-wldRhNviL-AKGZUl2g5uj6NXUaW8otkJJio90
  77. jh-config:
  78. product-type: 10000301
  79. business-merchant-no: PRO88882021122310003030
  80. merchant-no: PRO88882021122310003030
  81. trade-type: GAS_PAY
  82. pay-secret: f0b9d6ea704d4c03a6b44be50d055025
  83. server-url: http://116.252.74.15:8081