systemservice-test.yaml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. server:
  2. port: 10010
  3. servlet:
  4. encoding:
  5. charset: UTF-8
  6. force: true
  7. context-path: /sys
  8. compression:
  9. enabled: true #开启数据压缩
  10. mime-types: application/json,application/xml,text/html,text/xml,text/plain
  11. min-response-size: 2048
  12. logging:
  13. file:
  14. path: log/wookit
  15. level:
  16. root: info
  17. "[javax.management]": INFO
  18. "[org.apache.http]": INFO
  19. "[org.apache.tomcat.util.net.NioEndpoint]": INFO
  20. "[sun.rmi]": INFO
  21. "[com.alibaba.nacos]": ERROR
  22. tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false.
  23. spring:
  24. application:
  25. name: systemservice
  26. cloud:
  27. gateway:
  28. discovery:
  29. locator:
  30. lower-case-service-id: true
  31. enabled: true
  32. nacos:
  33. discovery:
  34. server-addr: 192.168.2.92:8848
  35. namespace: 49ab56f7-3752-4c43-a935-a1d4024eb82b
  36. redis:
  37. host: 192.168.2.92 #Redis服务器地址
  38. database: 1 # Redis数据库索引(默认为0)
  39. port: 6379 # Redis服务器连接端口
  40. password: Fjc@2025 # Redis服务器连接密码(默认为空)
  41. prefix: fsv2_test
  42. jedis:
  43. pool:
  44. max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
  45. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  46. max-idle: 8 # 连接池中的最大空闲连接
  47. min-idle: 0 # 连接池中的最小空闲连接
  48. datasource:
  49. # url: jdbc:mysql://119.23.214.109:30336/31.fsboxcloud?useSSL=false
  50. url: jdbc:mysql://192.168.2.93:3306/test_systemservice?useSSL=false&serverTimezone=GMT%2b8
  51. username: fujica
  52. password: Fjc@2025
  53. # data:
  54. # mongodb:
  55. # uri: mongodb://root:FJc123456!%40%23%26@dds-wz92ac81710b54241.mongodb.rds.aliyuncs.com:3717,dds-wz92ac81710b54242.mongodb.rds.aliyuncs.com:3717/fujica_data_center?replicaSet=mgset-77298810&authSource=admin
  56. jwt:
  57. access-token-expire: 3600000
  58. access-token-secret: 123456
  59. refresh-token-expire: 3600000
  60. refresh-token-secret: 123456
  61. app-access-token-expire: 2592000 #爱泊客小程序、H5登录有效期(30天)
  62. mybatis:
  63. mapper-locations: classpath:/mapper/*.xml
  64. configuration:
  65. map-underscore-to-camel-case: true
  66. type-handlers-package:
  67. com.fujica.util
  68. # 阿里云OSS
  69. # 不同服务器地址不同
  70. aliyun:
  71. oss:
  72. file:
  73. endpoint: https://oss-cn-shenzhen.aliyuncs.com
  74. keyid: LTAI5tALFygbdLmGw1VsDEVw
  75. keysecret: wVJnGaeR8hkxvdnjr2lIzAWlZGVxTG
  76. bucketname: fsbase
  77. feign:
  78. httpclient:
  79. enabled: true #开启feign连接池
  80. max-connections: 100
  81. max-connections-per-route: 50
  82. client:
  83. config:
  84. default:
  85. connect-timeout: 2000 #默认连接超时时间
  86. read-timeout: 2000 #默认请求超时时间
  87. fujica:
  88. sha256:
  89. salt: fujica2024v2
  90. rsa:
  91. publicKey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMkyd3UWDgDyk70PlCrQJimVswNV8zk8d5DvVpvjtCW3xVuXOACHDQDUsFgHYh/B8A43eADR6+2b/776Bz/ZhjUCAwEAAQ==
  92. privateKey: MIIBVQIBADANBgkqhkiG9w0BAQEFAASCAT8wggE7AgEAAkEAyTJ3dRYOAPKTvQ+UKtAmKZWzA1XzOTx3kO9Wm+O0JbfFW5c4AIcNANSwWAdiH8HwDjd4ANHr7Zv/vvoHP9mGNQIDAQABAkAFONca5eClK6akAJSC6/YhnC4SRxfSA3zC+UNRNn7Ff8y/3fzhPjzQa9Fg+5kM9gEQylRDTBfFeBpArr5xk9udAiEA9uoWCJFJQYWDE7Xqv9bQszGuSf/ezuKCRa73H1E/1H8CIQDQmbpDRAfBwCcM759pw3DbhOK4EXN6uFg53n9ZqVM7SwIhAPPFspEs11VP+lQ4c5aJAC0abId0jcZVjOY9Uo/hyJIDAiEAs1fHvTdLF/f1WvjVbJ/ccs8wASL3zsWZDL/Pa63ZYjsCIF9qoBzAEka+ZbRoxvcI9pLx7GFFCvkbOrDlvC+vZO3s
  93. login:
  94. h5:
  95. allowChangeMobileCount: 3 #每天允许变更一次手机号
  96. sms:
  97. code: SMS_468400780
  98. length: 4
  99. expireTime: 60
  100. common:
  101. needVerifyCode: false
  102. password:
  103. sms:
  104. code: SMS_468630113
  105. oss:
  106. baseUrl: http://192.168.12.131:8080/sys/file/redirect?ossKey=
  107. rocketmq:
  108. name-server: 192.168.16.20:9876;192.168.16.21:9876;192.168.16.22:9876
  109. producer:
  110. group: fujica-producer
  111. topic:
  112. topicDcEventAdd: topic_dc_event_add_test
  113. topicDcEventBatchAdd: topic_dc_event_batch_add_test
  114. topicSysCustomerSync: topic_sys_customer_sync_test
  115. topicProjectOnlineStatus: topic_project_online_status_test
  116. orgSync: sys_org_sync_test
  117. delOrgSync: sys_del_org_sync_test
  118. customerSync: sys_customer_sync_test
  119. delCustomerSync: sys_del_customer_sync_test
  120. areSync: sys_area_sync_test
  121. delAreaSync: sys_del_area_sync_test
  122. topicProjectInfo: topic_project_info_test
  123. topicUserVirtualPlateSync: userVirtualPlateSync_test
  124. consumer:
  125. topic:
  126. sysAreaBatchDelete: sys_area_batch_delete_test
  127. sysAreaBatch: sys_area_batch_test
  128. sysCustomerBatchDelete: sys_customer_batch_delete_test
  129. sysCustomerBatch: sys_customer_batch_test
  130. sysOrgBatchDelete: sys_org_batch_delete_test
  131. sysOrgBatch: sys_org_batch_test
  132. mqttOnlineStatus: mqtt_push_data_test
  133. bindMemberOpenId: topic_bind_member_openid_test
  134. statReplace: stat_replace_test
  135. statMerge: stat_merge_test
  136. externalCallback: vms_external_callback_test
  137. sysCardCompanyParkRelation: sys_card_company_park_relation_test
  138. group:
  139. sysAreaBatchDelete: sys_area_batch_delete_test
  140. sysAreaBatch: sys_area_batch_test
  141. sysCustomerBatchDelete: sys_customer_batch_delete_test
  142. sysCustomerBatch: sys_customer_batch_test
  143. sysOrgBatchDelete: sys_org_batch_delete_test
  144. sysOrgBatch: sys_org_batch_test
  145. mqttOnlineStatus: mqtt_online_status_test
  146. bindMemberOpenId: topic_bind_member_openid_test
  147. statReplace: stat_replace_test
  148. statMerge: stat_merge_test
  149. externalCallback: vms_external_callback_test
  150. sysCardCompanyParkRelation: sys_card_company_park_relation_test
  151. async:
  152. thread-pool: #为@Async功能配置的线程池
  153. sys: #系统服务通用线程池
  154. core-pool-size: 2
  155. max-pool-size: 10
  156. queue-capacity: 1000
  157. name-prefix: sys
  158. member:
  159. plate:
  160. limit: 10 #会员最多允许添加车辆数