|
|
|
@ -0,0 +1,59 @@
|
|
|
|
|
# \u751F\u4EA7\u73AF\u5883
|
|
|
|
|
server.port=10001
|
|
|
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
|
|
|
spring.datasource.jdbc-url=jdbc:mysql://192.168.0.66:3364/udispsync_wmd?allowMultiQueries=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
|
|
|
|
|
spring.datasource.username=root
|
|
|
|
|
spring.datasource.password=123456
|
|
|
|
|
#spring.datasource.password=xiamenswan
|
|
|
|
|
#server.servlet.context-path=
|
|
|
|
|
logging.level.com.glxp.sale.admin=debug
|
|
|
|
|
# \u8DE8\u57DF\u8BBE\u7F6E
|
|
|
|
|
cors.allowed-origins=*
|
|
|
|
|
cors.allowed-headers=Content-Type,ADMIN_ID,ADMIN_TOKEN
|
|
|
|
|
cors.allowed-methods=GET,POST,PUT,DELETE,PATCH,OPTIONS
|
|
|
|
|
cors.allowed-Credentials=true
|
|
|
|
|
#\u8BF7\u6C42\u53C2\u6570\u957F\u5EA6
|
|
|
|
|
server.tomcat.max-http-form-post-size=100MB
|
|
|
|
|
server.max-http-header-size=100MB
|
|
|
|
|
#\u6700\u5927\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F(10MB)
|
|
|
|
|
spring.servlet.multipart.max-file-size=104857600
|
|
|
|
|
spring.servlet.multipart.max-request-size=104857600
|
|
|
|
|
server.connectionTimeout=180000
|
|
|
|
|
#logging.level.com.glxp.sale.admin.dao=debug
|
|
|
|
|
# \u8F93\u51FA\u65E5\u5FD7\u5230\u9879\u76EE\u6839\u76EE\u5F55\u4E0B\u7684springboot.log\u6587\u4EF6\u4E2D // \u914D\u7F6E logback-spring.xml\u65F6 \u6B64\u65E5\u5FD7\u8F93\u51FA\u65B9\u5F0F\u4F1A\u88AB\u8986\u76D6\u3002
|
|
|
|
|
logging.file=D:/1s/udiwms/udiwms.log
|
|
|
|
|
#logging.file=/www/glxpdata/spsyc/
|
|
|
|
|
file_path=D:/share/udisps/
|
|
|
|
|
#file_path=/share/order/sync
|
|
|
|
|
back_file_path=D:/share/udisps/back/
|
|
|
|
|
#back_file_path=/share/order/sync_back
|
|
|
|
|
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
|
|
|
|
spring.jackson.time-zone=GMT+8
|
|
|
|
|
#UDI管理系统地址
|
|
|
|
|
#UDIWMS_IP=http://192.168.0.109:9991
|
|
|
|
|
UDIWMS_IP=http://127.0.0.1:9991
|
|
|
|
|
#自助平台地址
|
|
|
|
|
SPMS_IP=http://127.0.0.1:9906
|
|
|
|
|
#SPMS_IP=http://139.9.178.73:8080/SPMS_SERVER
|
|
|
|
|
API_KEY=1101
|
|
|
|
|
API_SECRET=zBITspLNvuoEd4FaamlSoqxRHmNsmQ9L
|
|
|
|
|
#SPMS_IP=http://139.159.187.130:8080/SPMS_SERVER
|
|
|
|
|
##端口号
|
|
|
|
|
# Redis数据库索引(默认为0)
|
|
|
|
|
spring.redis.database=6
|
|
|
|
|
# Redis服务器地址
|
|
|
|
|
spring.redis.host=192.168.0.66
|
|
|
|
|
# Redis服务器连接端口
|
|
|
|
|
spring.redis.port=6400
|
|
|
|
|
# Redis服务器连接密码(默认为空)
|
|
|
|
|
spring.redis.password=
|
|
|
|
|
#连接池最大连接数(使用负值表示没有限制)
|
|
|
|
|
spring.redis.jedis.pool.max-active=8
|
|
|
|
|
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
|
|
spring.redis.jedis.pool.max-wait=-1
|
|
|
|
|
# 连接池中的最大空闲连接
|
|
|
|
|
spring.redis.jedis.pool.max-idle=8
|
|
|
|
|
# 连接池中的最小空闲连接
|
|
|
|
|
spring.redis.jedis.pool.min-idle=0
|
|
|
|
|
# 连接超时时间(毫秒)
|
|
|
|
|
spring.redis.jedis.timeout=300
|