skyouc
5 天以前 5807fc22aba974b4ca85a8049ecd983673b0ca28
rsf-server/src/main/resources/application-prod.yml
@@ -1,5 +1,5 @@
server:
  port: 8080
  port: 8085
  servlet:
    context-path: /@pom.artifactId@
@@ -10,7 +10,7 @@
    static-path-pattern: /**
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://10.10.10.200:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: xltys1995
    type: com.alibaba.druid.pool.DruidDataSource
@@ -43,12 +43,48 @@
      maxRequestSize: 100MB
  jmx:
    enabled: false
  mail:
    from: whatsflow.team@gmail.com
    host: smtp.gmail.com
    port: 587
    username: whatsflow.team@gmail.com
    password: elpc vfwk twnu uoyy
    properties:
      mail:
        smtp:
          auth: true
          starttls.enable: true
          connectiontimeout: 5000
          timeout: 5000
redis:
  host: 127.0.0.1
  password: xltys1995
  port: 6379
  max: 30
  min: 10
  timeout: 5000
  index: 11
  index: 11
stock:
  flagAvailable: true
  #平台接口信息配置(如:ERP, QMS, WCS等)
  platform:
    #企业ERP平台
    erp:
      #localhost
      host: http://127.0.0.1
      #端口号
      port: 8085
      #接品链接前缀
      pre-path: rsf-server
      #接口明细
      api:
        #质检上报接口
        notify-inspect: /report/inspect
    rcs:
      #链接
      host: http://127.0.0.1
      #端口
      port: 8081