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.

170 lines
4.5 KiB

8 months ago
7 months ago
8 months ago
4 months ago
4 months ago
8 months ago
8 months ago
8 months ago
7 months ago
6 months ago
5 months ago
4 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
2 months ago
2 months ago
  1. # Tomcat
  2. server:
  3. tomcat:
  4. uri-encoding: UTF-8
  5. max-threads: 1000
  6. min-spare-threads: 30
  7. port: 8088
  8. connection-timeout: 5000ms
  9. spring:
  10. resources:
  11. cache:
  12. cachecontrol:
  13. max-age: 0
  14. chain:
  15. cache: false
  16. # 环境 dev|test|prod
  17. profiles:
  18. active: dev
  19. freemarker:
  20. suffix: .ftl
  21. cache: false
  22. #template-loader-path: '${user.dir}/templates' #外部页面设置
  23. settings:
  24. number_format: '0.##' #格式化数字, 无小数
  25. # jackson时间格式化
  26. jackson:
  27. time-zone: GMT+8
  28. date-format: yyyy-MM-dd HH:mm:ss
  29. servlet:
  30. multipart:
  31. max-file-size: 100MB
  32. max-request-size: 100MB
  33. enabled: true
  34. data:
  35. redis:
  36. database: 0
  37. password: MUmu0923
  38. # password: rqRQ123123
  39. host: 47.102.202.239
  40. # host: localhost
  41. port: 8379
  42. timeout: 2000ms
  43. lettuce:
  44. pool:
  45. max-active: 8
  46. max-idle: 8
  47. min-idle: 0
  48. max-wait: -1ms
  49. shutdown-timeout: 100ms
  50. mvc:
  51. throw-exception-if-no-handler-found: true
  52. # resources:
  53. # add-mappings: false
  54. #mybatis
  55. mybatis-plus:
  56. mapper-locations: classpath:/mapper/**/*.xml
  57. #实体扫描,多个package用逗号或者分号分隔
  58. typeAliasesPackage: com.gaotao.modules.*.entity,com.gaotao.modules.*.data
  59. global-config:
  60. #数据库相关配置
  61. db-config:
  62. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  63. id-type: AUTO
  64. # 逻辑删除配置
  65. logic-delete-value: -1
  66. logic-not-delete-value: 0
  67. # 启动或关闭 控制台logo
  68. banner: false
  69. #原生配置
  70. configuration:
  71. map-underscore-to-camel-case: true
  72. cache-enabled: false
  73. call-setters-on-nulls: true
  74. jdbc-type-for-null: 'null'
  75. # 关闭一级缓存,防止MyBatis-Plus和XML手写SQL混用时读取到旧数据 - rqrq
  76. local-cache-scope: STATEMENT
  77. logging:
  78. level:
  79. com.gaotao.modules: debug
  80. org.springframework.jdbc.core.JdbcTemplate: DEBUG
  81. clodp:
  82. printUrl: 192.168.1.150
  83. gaotao:
  84. redis:
  85. open: true
  86. shiro:
  87. redis: false
  88. # APP模块,是通过jwt认证的,如果要使用APP模块,则需要修改【加密秘钥】
  89. jwt:
  90. # 加密秘钥
  91. secret: f4e2e52034348f86b67cde581c0f9eb5
  92. # token有效时长,7天,单位秒
  93. expire: 604800
  94. header: token
  95. task:
  96. data:
  97. site: 1
  98. query:
  99. maxNums: 1000
  100. custom:
  101. ifs-url: 'https://cclifswebservice.ccldesign.com/api/v1/'
  102. ifs-ifsDBName: 'IFST'
  103. ifs-domainUserID: 'CCL_WMS'
  104. wcs-url: 'http://172.28.1.18:7002/api/wms/'
  105. wcs-api: 'http://172.28.1.18:7002/api/'
  106. agv-url: 'http://172.28.1.17:7777'
  107. wcs-board-api: 'http://172.28.1.18:7003/api/'
  108. rfid-url: 'http://172.28.1.XX:7003/api/'
  109. # 分切区配置 - rqrq
  110. cutting-area-warehouse: 'W04' # 分切区仓库编码
  111. cutting-area-location: 'RM1DA0601' # 分切区库位编码(为空表示不限定库位)
  112. # WMS消息队列配置
  113. wms:
  114. message:
  115. queue:
  116. type: redis # redis 或 rabbitmq
  117. enabled: true
  118. retry:
  119. max-attempts: 3
  120. delay: 5000 # 重试延迟(ms)
  121. alert:
  122. enabled: true
  123. email: admin@company.com
  124. consumer:
  125. thread-pool-size: 5
  126. poll-interval: 1000 # 轮询间隔(ms)
  127. redis:
  128. key-prefix: "wms:queue:"
  129. status-prefix: "wms:message:status:"
  130. status-expire: 86400 # 状态过期时间(秒) 24小时
  131. # 定时任务开关配置
  132. scheduler:
  133. agv:
  134. enabled: false # AGV定时任务总开关(控制AgvTaskScheduler.java的所有定时任务)
  135. wcs:
  136. enabled: false # WCS定时任务总开关(控制WcsTaskScheduler.java的所有定时任务)
  137. autoTask:
  138. enabled: false # 自动任务开关(控制自动化下达任务)
  139. # 数据归档任务配置 - rqrq
  140. dataArchive:
  141. enabled: false # 数据归档任务总开关(控制DataArchiveScheduler.java的所有定时任务,默认关闭)
  142. # 接口调用日志归档任务
  143. interfaceCallLog:
  144. cron: '0 30 23 * * ?' # 每天晚上23:30执行
  145. # WCS回调栈板扫描归档任务
  146. wcsCallbackPalletScan:
  147. cron: '0 30 23 * * ?' # 每天晚上23:30执行
  148. # WCS回调任务归档任务
  149. wcsCallbackTask:
  150. cron: '0 30 23 * * ?' # 每天晚上23:30执行
  151. # WMS运输任务归档任务
  152. wmsTransportTask:
  153. cron: '0 30 23 * * ?' # 每天晚上23:30执行
  154. agv:
  155. max-task-num: 10
  156. # 看板推送任务配置
  157. dashboard:
  158. push:
  159. enabled: false # 看板推送任务总开关(控制所有看板,默认关闭)