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.

178 lines
5.0 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
11 months ago
11 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
12 months ago
12 months ago
12 months ago
12 months ago
11 months ago
11 months ago
11 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. ifs-domainUserID2: 'Zhiyong_Li'
  105. wcs-url: 'http://172.28.1.18:7002/api/wms/'
  106. wcs-api: 'http://172.28.1.18:7002/api/'
  107. agv-url: 'http://172.28.1.17:7777'
  108. wcs-board-api: 'http://172.28.1.18:7003/api/'
  109. rfid-url: 'http://172.28.1.XX:7003/api/'
  110. # 分切区配置 - rqrq
  111. cutting-area-warehouse: 'W04' # 分切区仓库编码
  112. cutting-area-location: 'RM1DA0601' # 分切区库位编码(为空表示不限定库位)
  113. # 立库异常处理位配置 - rqrq
  114. warehouse-error-location: '1101' # 立库异常处理位编码
  115. # WMS消息队列配置
  116. wms:
  117. message:
  118. queue:
  119. type: redis # redis 或 rabbitmq
  120. enabled: true
  121. retry:
  122. max-attempts: 3
  123. delay: 5000 # 重试延迟(ms)
  124. alert:
  125. enabled: true
  126. email: admin@company.com
  127. consumer:
  128. thread-pool-size: 5
  129. poll-interval: 1000 # 轮询间隔(ms)
  130. redis:
  131. key-prefix: "wms:queue:"
  132. status-prefix: "wms:message:status:"
  133. status-expire: 86400 # 状态过期时间(秒) 24小时
  134. # 任务限制配置 - rqrq
  135. task:
  136. limit:
  137. max-unfinished-call-tasks-per-area: 1 # 每个区域允许的最大未完成立库取货call料任务数量
  138. max-parallel-inbound-tasks-z103: 2 # Z103区域允许的最大入库并行任务数量
  139. rfid-machine-flag: 0 # 仓库1楼通道机是否启动 1启动 0不启动
  140. # 定时任务开关配置
  141. scheduler:
  142. agv:
  143. enabled: false # AGV定时任务总开关(控制AgvTaskScheduler.java的所有定时任务)
  144. wcs:
  145. enabled: false # WCS定时任务总开关(控制WcsTaskScheduler.java的所有定时任务)
  146. autoTask:
  147. enabled: false # 自动任务开关(控制自动化下达任务)
  148. # 数据归档任务配置 - rqrq
  149. dataArchive:
  150. enabled: false # 数据归档任务总开关(控制DataArchiveScheduler.java的所有定时任务,默认关闭)
  151. # 接口调用日志归档任务
  152. interfaceCallLog:
  153. cron: '0 30 23 * * ?' # 每天晚上23:30执行
  154. # WCS回调栈板扫描归档任务
  155. wcsCallbackPalletScan:
  156. cron: '0 30 23 * * ?' # 每天晚上23:30执行
  157. # WCS回调任务归档任务
  158. wcsCallbackTask:
  159. cron: '0 30 23 * * ?' # 每天晚上23:30执行
  160. # WMS运输任务归档任务
  161. wmsTransportTask:
  162. cron: '0 30 23 * * ?' # 每天晚上23:30执行
  163. agv:
  164. max-task-num: 10
  165. # 看板推送任务配置
  166. dashboard:
  167. push:
  168. enabled: false # 看板推送任务总开关(控制所有看板,默认关闭)