superdesk-app-services-notify-prd.properties 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. #use local config
  2. spring.profiles.active=simple
  3. spring.application.name=superdesk-app-services-notify
  4. server.port=8115
  5. server.servlet.context-path=/
  6. server.error.whitelabel.enabled=false
  7. #mybatis
  8. mybatis.type-aliases-package=cn.superdesk.app.organisation.dao.entity
  9. mybatis.mapper-locations=classpath*:mapper/*Mapper.xml
  10. eureka.instance.preferIpAddress=true
  11. eureka.instance.instanceId=${spring.cloud.client.ip-address}:${spring.application.name}-1.0.0:${server.port}
  12. eureka.instance.metadataMap.nodeId=${client.nodeId}
  13. # [spring kafka]
  14. spring.kafka.bootstrap-servers=172.18.223.209:9092
  15. # 检测到topic不存在时,是否抛出异常
  16. spring.kafka.listener.missing-topics-fatal=false
  17. spring.kafka.consumer.group-id=superdesk-app-services-notify
  18. # [kafka topic]
  19. superdesk.kafka.topic.notify.wxTemplateMessage=superdesk-notify-wxTemplateMessage
  20. # 收款成功通知
  21. superdesk.kafka.topic.notify.successfulCollection=superdesk-notify-successfulCollection
  22. # app消息推送
  23. superdesk.kafka.topic.notify.appMessagePush=superdesk-notify-appMessagePush
  24. # app自定义消息(提示音)推送
  25. superdesk.kafka.topic.notify.customAppMessagePush=superdesk-notify-customAppMessagePush
  26. info.app.name=superdesk-app-services-notify
  27. info.app.version=2.0.0-SNAPSHOT
  28. #spring
  29. spring.jackson.time-zone=GMT+8
  30. spring.http.encoding.charset=UTF-8
  31. spring.http.encoding.force=true
  32. spring.http.encoding.enabled=true
  33. server.tomcat.uri-encoding=UTF-8
  34. auth.crypt.key=U48Y4F1AwUADW24mLVIZtih3gt9bvW0
  35. #wei xin di zhi
  36. wx.hostUrl=https://service.superdesk.cn
  37. #wei xin gong gao di zhi
  38. wx.wxAppNoticeUrl=/wx/main/?state=8#/home/@id
  39. #wei xin shen he di zhi mobile
  40. wx.wxMsgAuditUrl=/appmobile
  41. #wei xin di zhi mobile
  42. wx.wxMsgUrl=/mobile
  43. superdesk.cache.mode=standalone
  44. #superdesk.cache.groupName=
  45. superdesk.cache.servers=172.18.223.212:6379
  46. superdesk.cache.password=
  47. superdesk.cache.database=1
  48. superdesk.cache.maxPoolSize=10000
  49. superdesk.cache.maxPoolIdle=10
  50. superdesk.cache.minPoolIdle=1
  51. superdesk.cache.maxPoolWaitMillis=10000
  52. swagger.enable=true
  53. #datasource
  54. db.group.size=1
  55. db.shard.size=1000
  56. db.driverClass=com.mysql.jdbc.Driver
  57. db.initialSize=2
  58. db.minIdle=1
  59. db.maxActive=50
  60. db.maxWait=60000
  61. db.timeBetweenEvictionRunsMillis=60000
  62. db.minEvictableIdleTimeMillis=300000
  63. db.testOnBorrow=true
  64. db.testOnReturn=false
  65. master.db.url=jdbc:mysql://rm-wz949306t03an8m8s.mysql.rds.aliyuncs.com:3306/superdesk_app_env_prod?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useSSL=false
  66. master.db.username=superdesk_app2
  67. master.db.password=qHZu2xi$yG0^NqMD
  68. #mybatis
  69. superdesk.mybatis.crudDriver=mapper3
  70. #superdesk.mybatis.dbType=Mysql
  71. #superdesk.mybatis.cacheEnabled=true
  72. superdesk.mybatis.cacheEnabled=false
  73. superdesk.mybatis.dynamicExpire=false
  74. superdesk.mybatis.cacheExpireSeconds=3600
  75. #superdesk.mybatis.rwRouteEnabled=false
  76. superdesk.mybatis.paginationEnabled=true
  77. #eureka
  78. eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@172.18.223.212:19991/eureka/
  79. eureka.client.registry-fetch-interval-seconds=5
  80. eureka.instance.lease-expiration-duration-in-seconds=30
  81. eureka.instance.lease-renewal-interval-in-seconds=10
  82. #hystrix
  83. hystrix.command.default.execution.timeout.enabled=true
  84. hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
  85. #ribbon
  86. ribbon.eureka.enabled=true
  87. ribbon.ServerListRefreshInterval=2000
  88. ribbon.ConnectTimeout = 200000
  89. ribbon.ReadTimeout = 1000000
  90. ribbon.OkToRetryOnAllOperations=false
  91. ribbon.MaxAutoRetriesNextServer=0
  92. ribbon.MaxAutoRetries = 0
  93. #spring
  94. spring.servlet.multipart.max-file-size=1Mb
  95. spring.servlet.multipart.max-request-size=1Mb
  96. spring.servlet.multipart.location=/tmp
  97. #loadbalancer
  98. spring.cloud.loadbalancer.retry.enabled=false
  99. #����app����
  100. #certificatePath �����ļ���ַ
  101. certificatePath=/data/wwwroot/storage/template/floorWindow.p12
  102. #certificatePassword
  103. certificatePassword=Huang0910
  104. #����
  105. clientNo=formal
  106. smsAliAccessKeyId=LTAI5tRyGtXgWuig8NBPi2zD
  107. smsAliAccessKeySecret=glWM1hLNzehmdApqNqdNQ1qhSXgjUe
  108. smsAliTemplateCode=SMS_219605019
  109. smsAliTemplateCodeTxt=SMS_225126568
  110. smsAliSysDomain=dysmsapi.aliyuncs.com
  111. smsAliRegionId=cn-shenzhen
  112. newMsg=open
  113. certificatePathNew=/data/wwwroot/storage/template/floorWindow.p12
  114. certificatePasswordNew=Huang0910
  115. topic=com.ChaoJiQianTai.LYZC
  116. msgOpen=on