| | |
| | | server: |
| | | port: 8081 |
| | | port: 8082 |
| | | 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 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | 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 |
| | | username: root |
| | | password: xltys1995 |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | |
| | | multipart: |
| | | maxFileSize: 100MB |
| | | 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 |
| | | timeout: 5000 |
| | | index: 11 |
| | | database: 3 |
| | | index: 3 |
| | | |
| | | # 电视机 Redis:与 zy-monitor-admin 使用同一 database(默认 0),否则读不到报警 |
| | | tv-monitor: |
| | | redis: |
| | | database: 0 |
| | | database: 3 |
| | | # 非空时要求请求头 X-Rcs-Token 与本值一致 |
| | | rcs-callback-token: "" |
| | | # 定时 GET RCS 站点接口 → 写入与 zy-monitor-admin 相同 Redis → 电视机 WebSocket 沿用既有推送 |
| | | rcs-station-poll: |
| | | # enabled: false |
| | | enabled: true |
| | | cron: "0/5 * * * * ?" |
| | | # task-no-poll-url: "http://10.10.10.200:8877/cv/station/getTaskNo?stationId=1007" |
| | | task-no-poll-url: "http://10.10.10.200:8877/cv/station/getTaskNo" |
| | | task-no-poll-use-post: true |
| | | task-no-station-id: "1007" |
| | | # error-poll-url: "http://10.10.10.200:8877/cv/station/getError?stationId=1010" |
| | | error-poll-url: "http://10.10.10.200:8877/cv/station/getError" |
| | | error-poll-use-post: true |
| | | error-station-id: "1010" |
| | | |
| | | stock: |
| | | flagAvailable: true |
| | | |
| | | # 平台接口信息配置(如:ERP, QMS, WCS等),需在根级别以便 platform.wms / platform.rcs 等能正确绑定 |
| | | #平台接口信息配置(如:ERP, QMS, WCS等) |
| | | platform: |
| | | # RCS链接 |
| | | #RCS链接 |
| | | rcs: |
| | | #链接 |
| | | host: http://10.10.10.200 |
| | | #端口 |
| | | port: 8088 |
| | | wms: |
| | | #链接 |
| | | host: http://127.0.0.1 |
| | | port: 8085 |
| | | #端口 |
| | | port: 8086 |
| | | erp: |
| | | #链接 |
| | | host: http://127.0.0.1 |
| | | port: 3741 |
| | | #端口 |
| | | port: 3741 |
| | | |
| | | http-audit: |
| | | enabled: true |
| | | # 审计数据源:primary / cus-item-sync |
| | | datasource: primary |
| | | # 其余审计参数改为 sys_http_audit_config 表配置 |