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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. # 小程序订阅消息
  27. superdesk.kafka.topic.notify.wxMiniProSubscribeMessage=superdesk-notify-wxSubscribeMessage
  28. info.app.name=superdesk-app-services-notify
  29. info.app.version=2.0.0-SNAPSHOT
  30. #spring
  31. spring.jackson.time-zone=GMT+8
  32. spring.http.encoding.charset=UTF-8
  33. spring.http.encoding.force=true
  34. spring.http.encoding.enabled=true
  35. server.tomcat.uri-encoding=UTF-8
  36. auth.crypt.key=U48Y4F1AwUADW24mLVIZtih3gt9bvW0
  37. #wei xin di zhi
  38. wx.hostUrl=https://service.superdesk.cn
  39. #wei xin gong gao di zhi
  40. wx.wxAppNoticeUrl=/wx/main/?state=8#/home/@id
  41. #wei xin shen he di zhi mobile
  42. wx.wxMsgAuditUrl=/appmobile
  43. #wei xin di zhi mobile
  44. wx.wxMsgUrl=/mobile
  45. superdesk.cache.mode=standalone
  46. #superdesk.cache.groupName=
  47. superdesk.cache.servers=172.18.223.212:6379
  48. superdesk.cache.password=
  49. superdesk.cache.database=1
  50. superdesk.cache.maxPoolSize=10000
  51. superdesk.cache.maxPoolIdle=10
  52. superdesk.cache.minPoolIdle=1
  53. superdesk.cache.maxPoolWaitMillis=10000
  54. swagger.enable=true
  55. #datasource
  56. db.group.size=1
  57. db.shard.size=1000
  58. db.driverClass=com.mysql.jdbc.Driver
  59. db.initialSize=2
  60. db.minIdle=1
  61. db.maxActive=50
  62. db.maxWait=60000
  63. db.timeBetweenEvictionRunsMillis=60000
  64. db.minEvictableIdleTimeMillis=300000
  65. db.testOnBorrow=true
  66. db.testOnReturn=false
  67. 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
  68. master.db.username=superdesk_app2
  69. master.db.password=qHZu2xi$yG0^NqMD
  70. #mybatis
  71. superdesk.mybatis.crudDriver=mapper3
  72. #superdesk.mybatis.dbType=Mysql
  73. #superdesk.mybatis.cacheEnabled=true
  74. superdesk.mybatis.cacheEnabled=false
  75. superdesk.mybatis.dynamicExpire=false
  76. superdesk.mybatis.cacheExpireSeconds=3600
  77. #superdesk.mybatis.rwRouteEnabled=false
  78. superdesk.mybatis.paginationEnabled=true
  79. #eureka
  80. eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@172.18.223.212:19991/eureka/
  81. eureka.client.registry-fetch-interval-seconds=5
  82. eureka.instance.lease-expiration-duration-in-seconds=30
  83. eureka.instance.lease-renewal-interval-in-seconds=10
  84. #hystrix
  85. hystrix.command.default.execution.timeout.enabled=true
  86. hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
  87. #ribbon
  88. ribbon.eureka.enabled=true
  89. ribbon.ServerListRefreshInterval=2000
  90. ribbon.ConnectTimeout = 200000
  91. ribbon.ReadTimeout = 1000000
  92. ribbon.OkToRetryOnAllOperations=false
  93. ribbon.MaxAutoRetriesNextServer=0
  94. ribbon.MaxAutoRetries = 0
  95. #spring
  96. spring.servlet.multipart.max-file-size=1Mb
  97. spring.servlet.multipart.max-request-size=1Mb
  98. spring.servlet.multipart.location=/tmp
  99. #loadbalancer
  100. spring.cloud.loadbalancer.retry.enabled=false
  101. #����app����
  102. #certificatePath �����ļ���ַ
  103. certificatePath=/data/wwwroot/storage/template/floorWindow.p12
  104. #certificatePassword
  105. certificatePassword=Huang0910
  106. #����
  107. clientNo=formal
  108. smsAliAccessKeyId=LTAI5tRyGtXgWuig8NBPi2zD
  109. smsAliAccessKeySecret=glWM1hLNzehmdApqNqdNQ1qhSXgjUe
  110. smsAliTemplateCode=SMS_219605019
  111. smsAliTemplateCodeTxt=SMS_225126568
  112. smsAliSysDomain=dysmsapi.aliyuncs.com
  113. smsAliRegionId=cn-shenzhen
  114. newMsg=open
  115. certificatePathNew=/data/wwwroot/storage/template/floorWindow.p12
  116. certificatePasswordNew=Huang0910
  117. topic=com.ChaoJiQianTai.LYZC
  118. msgOpen=on