zhou zhou
3 天以前 464116335cba47ddce55ee3a4ddc87af7fee5d15
rsf-server/src/main/resources/application-dev.yml
@@ -16,7 +16,8 @@
    username: root
#    url: jdbc:mysql://10.10.10.200:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    password: xltys1995
    url: jdbc:mysql://192.168.4.36:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    url: jdbc:mysql://127.0.0.1:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
    url: jdbc:mysql://192.168.4.199:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    password: root
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
@@ -24,10 +25,11 @@
      min-idle: 5
      max-active: 20
      max-wait: 30000
      keep-alive: true
      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
@@ -35,12 +37,12 @@
      #max-pool-prepared-statement-per-connection-size: 20
      filters: stat, wall
      validation-query: SELECT 1
      aop-patterns: com.zy.*.*.service.*
      aop-patterns: com.vincent.rsf.server.*.service.*
      stat-view-servlet:
        url-pattern: /druid/*
        reset-enable: true
        login-username: admin
        login-password: admin
        login-username: ${DRUID_STAT_USER:admin}
        login-password: ${DRUID_STAT_PWD:admin123}
        enabled: true
  servlet:
    multipart:
@@ -65,7 +67,6 @@
            class: javax.net.ssl.SSLSocketFactory
redis:
  host: 127.0.0.1
  password: xltys1995
  port: 6379
  timeout: 5000
  index: 15
@@ -90,6 +91,15 @@
    #端口
    port: 8081
  #企业ERP平台
  open:
    #接口明细
    api:
      #localhost
      host: http://127.0.0.1
      #端口号
      port: 8081
#仓库功能参数配置
stock:
  #是否允许打印货物标签, 默认允许打印,也可由供应商提供标签
@@ -101,4 +111,12 @@
    #判断是后检验合格后,才允许上架
    flagAvailable: true
    #判断是否校验合格后,才允许收货
    flagReceiving: false
    flagReceiving: false
pressure:
  asn-order:
    enabled: false
    cron: "0/10 * * * * ?"
    order-count-per-run: 2000
    item-count-per-order: 1
    item-qty: 10.0