Junjie
昨天 a4f07b2a0ddb6c210e05afbbb491feeb466203e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# 系统版本信息
app:
  version: 3.0.0.0
  version-type: dev  # prd 或 dev
  i18n:
    default-locale: zh-CN
    supported-locales:
      - zh-CN
      - en-US
    # 内置语言包读取位置:classpath:/i18n/<locale>/*.properties
    # 外置可安装语言包覆盖目录:./stock/out/@pom.build.finalName@/i18n/<locale>/*.properties
    pack-path: ./stock/out/@pom.build.finalName@/i18n
    # 外置语言包热加载检查周期(秒)
    refresh-seconds: 10
 
server:
  port: 9090
  servlet:
    context-path: /@pom.build.finalName@
  shutdown: graceful
 
spring:
  application:
    name: @pom.build.finalName@
  datasource:
    hikari:
      validation-timeout: 3000
      connection-test-query: select 1
    driver-class-name: com.mysql.cj.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: /**
  data:
    redis:
      host: 127.0.0.1
      port: 6379
      database: 0
      # 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
#  configuration:
#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 
 
logging:
  file:
    path: ./stock/out/@pom.build.finalName@/logs
 
super:
  pwd: xltys1995
 
swagger:
  enable: false
 
#License相关配置
license:
  subject: crnWcsDev
  publicAlias: publicCert
  storePass: public_zhongyang_123456789
  licensePath: license.lic
  publicKeysStorePath: publicCerts.keystore
  remoteServerUrl: http://net.zoneyung.net:9999/license
 
deviceExecuteConfig:
  # 每个线程管控设备执行数量
  threadControlCount: 10
  liftType: lift
 
mainProcessPlugin: FakeProcess
 
deviceLogStorage:
  # 设备日志存储方式 mysql file
  type: file
  # file类型存储地址
  loggingPath: ./stock/out/@pom.build.finalName@/deviceLogs
  # 日志过期时间 单位天
  expireDays: 7
 
llm:
  # 现已迁移到数据库表 sys_llm_route 维护(支持多API/多模型/多Key自动切换)
  # 以下仅作为数据库为空时的兼容回退配置
  thinking: false
  base-url:
  api-key:
  model:
 
perf:
  methodTiming:
    enabled: false
    thresholdMs: 50
    sampleRate: 1.0