bootstrap-dev.properties 5.7 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. #支付回调地址
  8. wechat.payment.notifyUrl=
  9. #退款回调地址
  10. wechat.payment.refundNotifyUrl=
  11. #常规设置
  12. server.port =11003
  13. spring.servlet.multipart.max-file-size=40MB
  14. spring.servlet.multipart.max-request-size=40MB
  15. #是否直接web端打印错误信息
  16. spring.devtools.add-properties=true
  17. #echache缓存
  18. spring.cache.type=ehcache
  19. spring.cache.ehcache.config=classpath:ehcache.xml
  20. #定时器开关
  21. schedule.enable=false
  22. ##SQL执行分析,该插件有性能损耗,不建议生产环境使用
  23. spring.datasource.druid.db-type=mysql
  24. spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
  25. spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  26. 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
  27. spring.datasource.username=root
  28. spring.datasource.password=xch!eCdvc124@
  29. spring.datasource.druid.connection-init-sqls=set names utf8mb4
  30. spring.datasource.druid.initial-size=5
  31. spring.datasource.druid.minIdle=5
  32. spring.datasource.druid.maxActive=20
  33. ### 配置获取连接等待超时的时间,单位是毫秒
  34. spring.datasource.druid.maxWait=60000
  35. ### 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  36. spring.datasource.druid.timeBetweenEvictionRunsMillis=60000
  37. ### 配置一个连接在池中最小生存的时间,单位是毫秒
  38. spring.datasource.druid.minEvictableIdleTimeMillis=300000
  39. spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL
  40. spring.datasource.druid.testWhileIdle=true
  41. spring.datasource.druid.testOnBorrow=false
  42. spring.datasource.druid.testOnReturn=false
  43. ### 打开PSCache,并且指定每个连接上PSCache的大小
  44. spring.datasource.druid.poolPreparedStatements=true
  45. spring.datasource.druid.maxPoolPreparedStatementPerConnectionSize=20
  46. ### 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
  47. spring.datasource.druid.filters=stat,wall
  48. ### 通过connectProperties属性来打开mergeSql功能;慢SQL记录
  49. spring.datasource.druid.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  50. # 合并多个DruidDataSource的监控数据
  51. #spring.datasource.useGlobalDataSourceStat=true
  52. ### log4j配置
  53. logging.config=classpath:logback.xml
  54. #undertow_web容器配置
  55. server.undertow.accesslog.dir=${user.dir}/logs/access
  56. server.undertow.accesslog.enabled=true
  57. server.undertow.accesslog.pattern=%h %l %u %t "%r" %s %b %D
  58. server.undertow.accesslog.prefix=access_log.
  59. server.undertow.accesslog.rotate=true
  60. server.undertow.accesslog.suffix=log
  61. server.undertow.max-http-post-size=10240000
  62. #swagger-login-account
  63. #spring.security.user.name=admin
  64. #spring.security.user.password=gree2021
  65. #jackson组件时区
  66. spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
  67. spring.jackson.time-zone=GMT+8
  68. spring.jackson.timeZone=GMT+08:00
  69. spring.jackson.serialization.write_dates_as_timestamps=false
  70. spring.mvc.date-format=yyyy-MM-dd HH:mm:ss
  71. web.upload-path=${user.dir}/static/
  72. web.imageService=https://xxxxx
  73. #####################redis 单机版 start################
  74. spring.redis.port=6388
  75. spring.redis.host=121.43.111.127
  76. #redis密码
  77. spring.redis.password=private123@^
  78. spring.redis.lettuce.pool.max-active=300
  79. spring.redis.lettuce.pool.max-wait=1000ms
  80. spring.redis.lettuce.pool.max-idle=100
  81. spring.redis.lettuce.pool.min-idle=0
  82. spring.redis.timeout=100000ms
  83. #阿里云key
  84. ali.accessKeyId=LTAI4G3XTLh8G8DiTpXHpWgt
  85. ali.accessKeySecret=LYe8uf7Lg9WxJ1xejk45qnPFqxXLzN
  86. #corp.id=wwbae17f626bb79a8f
  87. corp.id=ww62ea04d5c904dc4a
  88. #corp.members.secret=ZPYLKAKIjWmPLiad1J15P8OiR7vmJX8mOBxQehFfjQQ
  89. corp.members.secret=NoaUlUOIE5ndQIMF1xppkvf5mNnhxm4E-1ktb4ztluc
  90. corp.agent.id=1000006
  91. corp.mini.secret=sni3_54CCweAeEgJ4WF6FPnYyrw6tv2Ll8RyJf6Xyck
  92. #延迟消息线程数量
  93. thread.size = 1
  94. #微信
  95. wechat.appid=wxaddd13c267e81e70
  96. wechat.mch.id=1602811075
  97. wechat.mch.key=ZfiretopAdmin20210309GreeAdminSe
  98. wechat.sub.appid=wxd935838591c00e16
  99. wechat.sub.secret=a19f2ec72d9e1f0b4f86fac729f6ba81
  100. wechat.keyPath=classpath:/static/apiclient_cert.p12
  101. #物流回调
  102. express.callback = http://121.43.111.127:10003/common/express/callback
  103. #发票API
  104. tax.token.appid=zfire
  105. tax.token.appSecret=gsdfbsdtsbfffcxwrtfsdfvvxaggdsa
  106. tax.token.url=http://121.43.111.127:11111/com/token/get
  107. tax.invoice.url=http://121.43.111.127:11111/invoice/tax
  108. tax.invoice.title.url=http://121.43.111.127:11111/invoice/title
  109. #工单API
  110. gongdan.url=https://admin.zfire.top
  111. gongdan.client_name=gs-java
  112. gongdan.key=6aw4gwGqwQRR4-12
  113. gongdan.password=au9uga9wgJJwj23544++4444
  114. gongdan.token.get.url=${gongdan.url}/services/token/getToken
  115. gongdan.install.create.url=${gongdan.url}/services/order/install/mallCreateInstall
  116. gongdan.repair.create.url=${gongdan.url}/services/order/repair/mallCreateRepair
  117. gongdan.install.detail.url=${gongdan.url}/services/order/install/getDetailList
  118. gongdan.repair.detail.url=${gongdan.url}/services/order/repair/getDetailList
  119. gongdan.marketing.url=${gongdan.url}/services/marketing_activity/getSelectList
  120. gongdan.smalltype.url=${gongdan.url}/services/product/product_type/getProductSmallType
  121. #对接辅材
  122. fucai.url=http://116.62.158.92:11001/java_fucai
  123. fucai.wuliao.url=${fucai.url}/k3/basics/material/info
  124. #前端首页
  125. front.top.url=
  126. #云闪付
  127. ums.url=https://api-mop.chinaums.com
  128. yue.huan.xin.url=https://mgw-test.gnete.com/gdhlgo2o
  129. yue.huan.xin.sftp=180.76.208.207
  130. yue.huan.xin.sftp.port=40980