郑永安
2023-06-19 c8188c0fc9edf6ea3feda5b6f11dcb014af2a89e
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
# mysql 多数据源
spring:
  application:
  # 环境 dev|prod|online
  profiles:
    active: dev
#    active: prod
#    active: test
#    active: online
#    active: test-local
 
  #redis
  redis:
    database: 0
    host: 10.187.1.202
    port: 6379
    password: ZhongtaiRedis@103
    redisson:
      pool:
        max-active: 12
        min-idle: 6
 
    jedis:
      pool:
        max-idle: 8
        max-active: 8
        max-wait: -1ms
        min-idle: 1
  #security
  security:
    user:
      name: user
      password: 123
      roles: admin
  # jackson config
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
    default-property-inclusion: NON_NULL
  #上传文件大小
  servlet:
    multipart:
      max-file-size: 500MB
      max-request-size: 500MB
  thymeleaf:
      cache:  false
#mybatis:
#  mapper-locations: classpath*:com/gk/firework/Mapper/mybatis/*.xml
#  type-aliases-package: com.gk.firework.Domain
 
#mybatis 多数据源
mybatis-plus:
#  mapper-locations: classpath*:com/gk/hotwork/Mapper/mybatis/*.xml,classpath*:com/gk/hotwork/Mapper2/mybatis/*.xml
  mapper-locations: classpath*:com/gk/hotwork/**/*.xml
  type-aliases-package: com.gk.hotwork.Domain
  type-enums-package: com.gk.hotwork.Domain.Enum
 
#线程池配置
threadPool:
  corePoolSize: 20
  maxPoolSize: 20
  queueCapacity: 10000
 
logging:
  level:
    com.gk.hotwork: info
    com.gk.hotwork.Mapper: error
    org.springframework: error
    org.apache.rocketmq: error
 
location:
  port: 1666
 
 
#sendwarnurl-nms: http://sinanoaq.com/daping/sendWarnInfo.json
 
#定义入库、出库、销售分表
slice: _slice1
 
workname: 特殊作业
 
workCode: TS
 
locationUrl: http://121.239.169.28:8084/ZKYNMS
locationUsername: zkynms
locationPassword: 123456