bootstrap-test.properties 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. #spring.cloud.nacos.config.server-addr=121.43.111.127:8848
  2. #spring.cloud.nacos.config.namespace=d7b1bacd-5b9f-4d1e-9a20-e6f923a744ba
  3. #
  4. #spring.cloud.nacos.discovery.server-addr=121.43.111.127:8848
  5. #spring.cloud.nacos.discovery.namespace=d7b1bacd-5b9f-4d1e-9a20-e6f923a744ba
  6. #mybatis-plus.configuration.log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  7. https://jiasm.zfire.top/mallMini/pay/payCall
  8. #支付回调地址
  9. wechat.payment.notifyUrl=https://jiasm.zfire.top/mallMini/pay/payCall
  10. #退款回调地址
  11. wechat.payment.refundNotifyUrl=
  12. #云闪付支付回调地址
  13. ums.payment.notifyUrl=https://jiasm.zfire.top/mallMini/pay/payCall
  14. #常规设置
  15. server.port =11004
  16. spring.servlet.multipart.max-file-size=40MB
  17. spring.servlet.multipart.max-request-size=40MB
  18. #是否直接web端打印错误信息
  19. spring.devtools.add-properties=true
  20. #echache缓存
  21. spring.cache.type=ehcache
  22. spring.cache.ehcache.config=classpath:ehcache.xml
  23. ##SQL执行分析,该插件有性能损耗,不建议生产环境使用
  24. spring.datasource.druid.db-type=mysql
  25. spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
  26. spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  27. spring.datasource.url=jdbc:mysql://121.43.111.127:3306/new_mall?verifyServerCertificate=false&useSSL=false&requireSSL=false&useUnicode=true&characterEncoding=UTF-8&characterSetResults=utf8&serverTimezone=Asia/Shanghai
  28. spring.datasource.username=root
  29. spring.datasource.password=xch!eCdvc124@
  30. spring.datasource.druid.connection-init-sqls=set names utf8mb4
  31. spring.datasource.druid.initial-size=5
  32. spring.datasource.druid.minIdle=5
  33. spring.datasource.druid.maxActive=20
  34. ### 配置获取连接等待超时的时间,单位是毫秒
  35. spring.datasource.druid.maxWait=60000
  36. ### 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  37. spring.datasource.druid.timeBetweenEvictionRunsMillis=60000
  38. ### 配置一个连接在池中最小生存的时间,单位是毫秒
  39. spring.datasource.druid.minEvictableIdleTimeMillis=300000
  40. spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL
  41. spring.datasource.druid.testWhileIdle=true
  42. spring.datasource.druid.testOnBorrow=false
  43. spring.datasource.druid.testOnReturn=false
  44. ### 打开PSCache,并且指定每个连接上PSCache的大小
  45. spring.datasource.druid.poolPreparedStatements=true
  46. spring.datasource.druid.maxPoolPreparedStatementPerConnectionSize=20
  47. ### 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
  48. spring.datasource.druid.filters=stat,wall
  49. ### 通过connectProperties属性来打开mergeSql功能;慢SQL记录
  50. spring.datasource.druid.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  51. # 合并多个DruidDataSource的监控数据
  52. #spring.datasource.useGlobalDataSourceStat=true
  53. ### log4j配置
  54. logging.config=classpath:logback.xml
  55. #undertow_web容器配置
  56. server.undertow.accesslog.dir=${user.dir}/logs/access
  57. server.undertow.accesslog.enabled=true
  58. server.undertow.accesslog.pattern=%h %l %u %t "%r" %s %b %D
  59. server.undertow.accesslog.prefix=access_log.
  60. server.undertow.accesslog.rotate=true
  61. server.undertow.accesslog.suffix=log
  62. server.undertow.max-http-post-size=10240000
  63. #swagger-login-account
  64. #spring.security.user.name=admin
  65. #spring.security.user.password=gree2021
  66. #mybatis-plus配置
  67. mybatis-plus.mapper-locations=classpath*:/mapper/**Mapper.xml
  68. #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
  69. mybatis-plus.global-config.db-config.id-type=id_worker_str
  70. #jackson组件时区
  71. spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
  72. spring.jackson.time-zone=GMT+8
  73. spring.jackson.timeZone=GMT+08:00
  74. spring.jackson.serialization.write_dates_as_timestamps=false
  75. spring.mvc.date-format=yyyy-MM-dd HH:mm:ss
  76. web.upload-path=${user.dir}/static/
  77. web.imageService=https://xxxxx
  78. #####################redis 单机版 start################
  79. spring.redis.port=6388
  80. spring.redis.host=121.43.111.127
  81. #redis密码
  82. spring.redis.password=private123@^
  83. spring.redis.lettuce.pool.max-active=300
  84. spring.redis.lettuce.pool.max-wait=1000ms
  85. spring.redis.lettuce.pool.max-idle=100
  86. spring.redis.lettuce.pool.min-idle=0
  87. spring.redis.timeout=100000ms
  88. #阿里云key
  89. ali.accessKeyId=LTAI4G3XTLh8G8DiTpXHpWgt
  90. ali.accessKeySecret=LYe8uf7Lg9WxJ1xejk45qnPFqxXLzN
  91. #微信
  92. wechat.appid=wxaddd13c267e81e70
  93. wechat.mch.id=1602811075
  94. wechat.mch.key=ZfiretopAdmin20210309GreeAdminSe
  95. wechat.sub.appid=wxd935838591c00e16
  96. wechat.sub.secret=a19f2ec72d9e1f0b4f86fac729f6ba81
  97. wechat.keyPath=classPath:/static/apiclient_cert.p12
  98. work.token=tMbhxdGynjrE1sraYS
  99. work.encodingAesKey=oeAzLQI4QzdcLNDAXuieoh7MVPYGKOmtpHpvQXiucZP
  100. #格力总部接口
  101. gree.url=http://47.115.43.13:9090/glinterface
  102. gree.url.token=${gree.url}/token
  103. gree.url.fxInstallReq=${gree.url}/fxInstallReq
  104. #物流订阅回调
  105. express.callback = http://121.43.111.127:10003/common/express/callback
  106. #开票
  107. tax.url=http://121.43.111.127:11111
  108. tax.token.appid = zfire
  109. tax.token.appSecret = gsdfbsdtsbfffcxwrtfsdfvvxaggdsa
  110. tax.token.url = ${tax.url}/com/token/get
  111. tax.invoice.url= ${tax.url}/invoice/tax
  112. tax.invoice.title.url= ${tax.url}/invoice/title
  113. #工单API
  114. gongdan.url=https://admin.zfire.top
  115. gongdan.client_name=gs-java
  116. gongdan.key=6aw4gwGqwQRR4-12
  117. gongdan.password=au9uga9wgJJwj23544++4444
  118. gongdan.token.get.url=${gongdan.url}/services/token/getToken
  119. gongdan.install.create.url=${gongdan.url}/services/order/install/mallCreateInstall
  120. gongdan.repair.create.url=${gongdan.url}/services/order/repair/mallCreateRepair
  121. gongdan.install.detail.url=${gongdan.url}/services/order/install/getDetailList
  122. gongdan.repair.detail.url=${gongdan.url}/services/order/repair/getDetailList
  123. #对接辅材
  124. fucai.url=http://116.62.158.92:11001/java_fucai
  125. fucai.saleorder.url=${fucai.url}/k3/basics/sale/order/add
  126. fucai.onlinepay.url=${fucai.url}/app/online/pay
  127. #家盛茂工程师公众号
  128. wx.mp.app-id=1
  129. wx.mp.secret=1
  130. #云闪付
  131. ums.url=https://test-api-open.chinaums.com/v1/netpay/wx/unified-order
  132. ums.wx.url=https://test-api-open.chinaums.com/v1/inip/upp