cl
4 天以前 f21530d33ca23aeeba2ef073ac6b64422e4e26ca
rsf-server/src/main/resources/application-dev.yml
@@ -21,14 +21,14 @@
    password: 12345
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      initial-size: 5
      min-idle: 5
      max-active: 20
      max-wait: 30000
      initial-size: 3
      min-idle: 8
      max-active: 40
      max-wait: 10000
      time-between-eviction-runs-millis: 60000
      min-evictable-idle-time-millis: 300000
      test-while-idle: true
      test-on-borrow: true
      test-on-borrow: false
      test-on-return: false
      remove-abandoned: true
      remove-abandoned-timeout: 1800
@@ -43,6 +43,27 @@
        login-username: admin
        login-password: admin
        enabled: true
    # 多数据源:鼎捷
    dj-cloud-wms:
      type: com.alibaba.druid.pool.DruidDataSource
      driver-class-name: com.mysql.cj.jdbc.Driver
      username: root
      password: 12345
      url: jdbc:mysql://127.0.0.1:3306/ilc_wms_test?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
      initial-size: 1
      min-idle: 2
      max-active: 12
      max-wait: 10000
#    erp:
#      type: com.alibaba.druid.pool.DruidDataSource
#      driver-class-name: com.mysql.cj.jdbc.Driver
#      username: root
#      password: 12345
#      url: jdbc:mysql://127.0.0.1:3306/rsf_jdxaj?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#      initial-size: 1
#      min-idle: 2
#      max-active: 12
#      max-wait: 10000
  servlet:
    multipart:
      maxFileSize: 100MB
@@ -66,10 +87,11 @@
            class: javax.net.ssl.SSLSocketFactory
redis:
  host: 127.0.0.1
  password: xltys1995
  password:
  port: 6379
  timeout: 5000
  index: 15
#平台接口信息配置(如:ERP, QMS, WCS等)
platform:
@@ -81,8 +103,9 @@
    port: 8080
    #接品链接前缀
    pre-path: ""
    # Feign 调用云仓时的根地址。本机模拟:http://127.0.0.1:8086/rsf-server(CloudWmsMockController:/dapilc/.../cusInventoryCompletionReport 等)
    base-url: http://127.0.0.1:8086/rsf-server
    # Feign 调用云仓时的根地址。本机模拟:http://127.0.0.1:8086/rsf-server(CloudWmsMockController:ICusStockService stockIn/Out/TransferCompleted)
    # base-url: http://127.0.0.1:8086/rsf-server
    base-url: http://192.168.10.108:8180
    # 鼎捷 DAP ilcwmsplus 完成反馈(9.1/9.2 组包用)
    dap:
      org-no: ""
@@ -90,10 +113,12 @@
      doc-type-out: ""
      doc-type-adj: ""
      unit-no: PCS
    #接口明细(质检等;入出库完成已固定为 /dapilc/restful/service/ilcwmsplus/IKWebService/...)
    #接口明细(质检等;Feign 已固定 ICusStockService stockInCompleted、stockOutCompleted;调拨 changeType=3 为 stockTransferCompleted)
    api:
      notify-inspect: /report/inspect
      in-out-result-path: /dapilc/restful/service/ilcwmsplus/IKWebService/cusInventoryCompletionReport
      stock-in-completed-path: /dapilc/restful/service/ilcwmsplus/ICusStockService/stockInCompleted
      stock-out-completed-path: /dapilc/restful/service/ilcwmsplus/ICusStockService/stockOutCompleted
#      in-out-result-path: /dapilc/restful/service/ilcwmsplus/IKWebService/cusInventoryCompletionReport
      inventory-adjust-path: /api/report/inventoryAdjust
      mat-sync-path: /api/mat/sync
  rcs:
@@ -118,17 +143,7 @@
# whitelist-only=true:仅 sys_http_audit_rule 命中规则才写审计;无规则时不落库。false:排除路径外全量记录。
# rule-cache-refresh-ms:规则表缓存刷新间隔(毫秒)
http-audit:
  enabled: true
  whitelist-only: true
  # false:/httpAuditLog、/httpAuditRule 也会被 Filter 记录(调试用;生产建议 true)
  exclude-audit-self-paths: false
  rule-cache-refresh-ms: 60000
  query-response-max-chars: 500
  max-response-store-chars: 65535
  # 规则未填 request_max_chars 时默认;-1 表示请求体入库不截断
  default-request-store-chars: 65535
  path-descriptions:
    "/erp/order": "云仓-订单查询"
    "/erp/order/add": "云仓-单据下发"
    "/erp/order/addAll": "云仓-批量单据下发"
    "/erp/order/cancel": "云仓-取消单据"
  # enabled: true
  enabled: false
  # 审计数据源:primary / dj-cloud-wms
  datasource: primary