智能库房综合管理系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
2.4 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. server:
  2. port: 7070
  3. spring:
  4. freemarker:
  5. check-template-location: false
  6. profiles:
  7. active: dm
  8. jackson:
  9. time-zone: GMT+8
  10. data:
  11. redis:
  12. repositories:
  13. enabled: false
  14. main:
  15. allow-bean-definition-overriding: true
  16. servlet:
  17. multipart:
  18. max-file-size: 5MB
  19. #配置 Jpa
  20. # jpa:
  21. # properties:
  22. # hibernate:
  23. # hbm2ddl:
  24. # auto: none
  25. # open-in-view: true
  26. # show-sql: true
  27. #达梦 jpa 配置
  28. jpa:
  29. database-platform: org.hibernate.dialect.DmDialect
  30. hibernate:
  31. naming:
  32. physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
  33. ddl-auto: none
  34. open-in-view: false
  35. properties:
  36. hibernate:
  37. show_sql: true
  38. dialect: org.hibernate.dialect.DmDialect
  39. redis:
  40. #数据库索引
  41. database: ${REDIS_DB:0}
  42. host: ${REDIS_HOST:192.168.99.101}
  43. port: ${REDIS_PORT:6379}
  44. password: ${REDIS_PWD:ftzn83560792}
  45. #连接超时时间
  46. timeout: 5000
  47. task:
  48. pool:
  49. # 核心线程池大小
  50. core-pool-size: 10
  51. # 最大线程数
  52. max-pool-size: 30
  53. # 活跃时间
  54. keep-alive-seconds: 60
  55. # 队列容量
  56. queue-capacity: 50
  57. code:
  58. expriration: 300
  59. #是否开启 swagger-ui
  60. swagger:
  61. enabled: true
  62. # IP 本地解析
  63. ip:
  64. local-parsing: true
  65. #密码加密传输 此处为私钥
  66. rsa:
  67. private_key: MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A==
  68. # 内存用户缓存配置
  69. user-cache:
  70. # 最小回收数(当缓存数量达到此值时进行回收)
  71. min-evictable-size: 512
  72. # 最小回收间隔
  73. min-evictable-interval: 1800000
  74. # 最小存活时间 (ms)
  75. min-idle-time: 3600000
  76. # 手持机参数
  77. #hand-held:
  78. # ip: 127.0.0.1:8057
  79. webSocket:
  80. netty:
  81. port: 7071
  82. path: /webSocket
  83. readerIdleTime: 30 #读空闲超时时间设置(Netty心跳检测配置)
  84. writerIdleTime: 30 #写空闲超时时间设置(Netty心跳检测配置)
  85. allIdleTime: 30 #读写空闲超时时间设置(Netty心跳检测配置)