chen.lin
2 天以前 9140aee230de0ef41de9682a9353fbd372e2bcaa
rsf-server/src/main/resources/application-dev.yml
@@ -1,21 +1,24 @@
server:
  port: 8080
  port: 8086
  servlet:
    context-path: /@pom.artifactId@
spring:
  application:
    name: @pom.artifactId@
  cloud:
    openfeign:
      circuitbreaker:
        enabled: true   # Feign 调用失败时走 Fallback,在 Feign 内统一返回错误响应
  mvc:
    static-path-pattern: /**
    path match:
      matching-strategy: ANT_PATH_MATCHER
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
#    url: jdbc:mysql://47.76.147.249:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    username: rsf
    driver-class-name: com.mysql.cj.jdbc.Driver
    username: root
    url: jdbc:mysql://127.0.0.1:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    password: 34821015
    url: jdbc:mysql://127.0.0.1:3306/rsf_jdxaj?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    url: jdbc:mysql://127.0.0.1:3306/jdxajwms?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    password: 12345
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      initial-size: 5
@@ -77,12 +80,20 @@
    #端口号
    port: 8080
    #接品链接前缀
    pre-path: rsf-server
    #接口明细
    pre-path: ""
    # Feign 调用云仓时的根地址。云仓未提供 URL 时可用本机模拟:http://127.0.0.1:8086/rsf-server(本服务提供的 CloudWmsMockController)
    base-url: http://127.0.0.1:8086/rsf-server
    #接口明细(立库侧请求云仓时使用的路径)
    api:
      #质检上报接口
      notify-inspect: /report/inspect
      in-out-result-path: /api/report/inOutResult
      inventory-adjust-path: /api/report/inventoryAdjust
      mat-sync-path: /api/mat/sync
  rcs:
    #链接
    host: http://10.10.10.200
    #端口
    port: 8088
#仓库功能参数配置
stock:
  #是否允许打印货物标签, 默认允许打印,也可由供应商提供标签