server:
|
port: 8080
|
servlet:
|
context-path: /@pom.artifactId@
|
|
spring:
|
application:
|
name: @pom.artifactId@
|
mvc:
|
static-path-pattern: /**
|
path match:
|
matching-strategy: ANT_PATH_MATCHER
|
datasource:
|
driver-class-name: com.mysql.jdbc.Driver
|
url: jdbc:mysql://192.168.4.24:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
|
username: root
|
password: 34821015
|
type: com.alibaba.druid.pool.DruidDataSource
|
druid:
|
initial-size: 5
|
min-idle: 5
|
max-active: 20
|
max-wait: 30000
|
time-between-eviction-runs-millis: 60000
|
min-evictable-idle-time-millis: 300000
|
test-while-idle: true
|
test-on-borrow: true
|
test-on-return: false
|
remove-abandoned: true
|
remove-abandoned-timeout: 1800
|
#pool-prepared-statements: false
|
#max-pool-prepared-statement-per-connection-size: 20
|
filters: stat, wall
|
validation-query: SELECT 'x'
|
aop-patterns: com.zy.*.*.service.*
|
stat-view-servlet:
|
url-pattern: /druid/*
|
reset-enable: true
|
login-username: admin
|
login-password: admin
|
enabled: true
|
servlet:
|
multipart:
|
maxFileSize: 100MB
|
maxRequestSize: 100MB
|
jmx:
|
enabled: false
|
mail:
|
from: t1731253606@163.com
|
host: smtp.163.com
|
port: 465
|
username: t1731253606@163.com
|
password: FCqETysH8TfuPqkY
|
properties:
|
mail:
|
smtp:
|
auth: true
|
ssl: true
|
connectiontimeout: 5000
|
timeout: 5000
|
socketFactory:
|
class: javax.net.ssl.SSLSocketFactory
|
redis:
|
host: 127.0.0.1
|
password: xltys1995
|
port: 6379
|
timeout: 5000
|
index: 15
|
|
#平台接口信息配置(如:ERP, QMS, WCS等)
|
platform:
|
#企业ERP平台
|
erp:
|
#localhost
|
host: http://127.0.0.1
|
#端口号
|
port: 8080
|
#接品链接前缀
|
prePath: rsf-server
|
#接口明细
|
apiInfo:
|
#质检上报接口
|
notifyInspect: /report/inspect
|
|
#仓库功能参数配置
|
stock:
|
#是否允许打印货物标签, 默认允许打印,也可由供应商提供标签
|
flagPrinter: false
|
#是否自动生成ASN单(默认:是),为『否』则开启PO单手动生成ASN单功能
|
flagAutoAsn: true
|
#质检功能 是否校验上架(默认:是),是否校验收货(默认:否)
|
inspect:
|
#判断是后检验合格后,才允许上架
|
flagAvailable: true
|
#判断是否校验合格后,才允许收货
|
flagReceiving: false
|