共享库存修改

This commit is contained in:
GYJ
2024-06-24 11:42:41 +08:00
parent 1675e5d45b
commit b9b35849c3
15 changed files with 520 additions and 73 deletions

View File

@@ -3,10 +3,13 @@ spring:
datasource:
druid:
db-type: com.alibaba.druid.pool.DruidDataSource
#driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
# driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:mysql://101.37.12.135:3306/fycashier?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
username: fycashier
password: Twc6MrzzjBiWSsjh
# url: jdbc:mysql://127.0.0.1:3306/fycashier?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
# username: root
# password: gongyijieqp002
driver-class-name: com.mysql.cj.jdbc.Driver
# 初始连接数
initial-size: 5

View File

@@ -29,7 +29,7 @@ spring:
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
show_sql: false
show_sql: true
# redisdb5:
# #数据库索引
@@ -38,12 +38,20 @@ spring:
# port: ${REDIS_PORT:6379}
# password: ${REDIS_PWD:111111}
# redis:
# #数据库索引
# database: ${REDIS_DB:0}
# host: ${REDIS_HOST:127.0.0.1}
# port: ${REDIS_PORT:6379}
# password: ${REDIS_PWD:111111}
# #连接超时时间
# timeout: 5000
redis:
#数据库索引
database: ${REDIS_DB:0}
host: ${REDIS_HOST:127.0.0.1}
port: ${REDIS_PORT:6379}
password: ${REDIS_PWD:111111}
database: 0
host: 127.0.0.1
port: 6379
password:
#连接超时时间
timeout: 5000