#
Junjie
2025-12-20 8280c9eee52dd9fa3501305dfd4d1cab1564a73b
src/main/resources/application.yml
@@ -1,39 +1,95 @@
server:
  port: 9090
  servlet:
    context-path: /@pom.build.finalName@
  shutdown: graceful
spring:
  application:
#    name: @pom.artifactId@
    name:
    name: @pom.build.finalName@
  datasource:
    # mysql
#    driver-class-name: com.mysql.jdbc.Driver
#    url: jdbc:mysql://127.0.0.1:3306/zy_wcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
#    username: root
#    password: xltys1995
    # sql-server
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    url: jdbc:sqlserver://127.0.0.1:1433;databasename=jsasrs
    username: sa
    password: sa@123
    hikari:
      validation-timeout: 3000
      connection-test-query: select 1
    driver-class-name: com.mysql.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/wcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: root
  mvc:
    static-path-pattern: /**
  redis:
    host: localhost
    host: 127.0.0.1
    port: 6379
    database: 0
#    password: xltys1995
  #    password: 123456
  task:
    scheduling:
      pool:
        size: 3
      shutdown:
        await-termination: true
        await-termination-period: 30s
    execution:
      shutdown:
        await-termination: true
        await-termination-period: 30s
  lifecycle:
    timeout-per-shutdown-phase: 20s
mybatis-plus:
  mapper-locations: classpath:mapper/*.xml
  global-config:
    field-strategy: 0
#  global-config:
#    field-strategy: 0
#  configuration:
#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
logging:
  path: /stock/out/logs
  file:
    path: /stock/out/@pom.build.finalName@/logs
super:
  pwd: xltys1995
swagger:
  enable: false
  enable: false
#License相关配置
license:
  subject: crnWcsDev
  publicAlias: publicCert
  storePass: public_zhongyang_123456789
  licensePath: license.lic
  publicKeysStorePath: publicCerts.keystore
deviceExecuteConfig:
  # 每个线程管控设备执行数量
  threadControlCount: 10
  liftType: lift
mainProcessPlugin: FakeProcess
deviceLogStorage:
  # 设备日志存储方式 mysql file
  type: file
  # file类型存储地址
  loggingPath: /stock/out/@pom.build.finalName@/deviceLogs
  # 日志过期时间 单位天
  expireDays: 7
llm:
#  base-url: https://api.siliconflow.cn/v1
#  api-key: sk-sxdtebtquwrugzrmaqqqkzdzmrgzhzmplwwuowysdasccent
#  model: deepseek-ai/DeepSeek-V3.2
  base-url: http://47.76.147.249:9998/e/7g7kqxxt1ei2un71
  api-key: app-mP0O6aY5WpbfaHs7BNnjVkli
  model: deepseek-ai/DeepSeek-V3.2
#  base-url: http://34.2.134.223:3000/v1
#  api-key: sk-WabrmtOezCFwVo7XvVOrO3QkmfcKG7T7jy0BaVnmQTWm5GXh
#  model: gemini-3-pro-preview
perf:
  methodTiming:
    enabled: false
    thresholdMs: 50
    sampleRate: 1.0