商品首页增加销量,yml文件更改

This commit is contained in:
liuyingfang
2024-03-12 10:57:56 +08:00
parent 0dfa182c70
commit f03debac1b
4 changed files with 15 additions and 6 deletions

View File

@@ -4,9 +4,9 @@ spring:
druid:
db-type: com.alibaba.druid.pool.DruidDataSource
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:3306}/${DB_NAME:eladmin}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
url: jdbc:log4jdbc:mysql://${DB_HOST:rm-bp1b572nblln4jho2.mysql.rds.aliyuncs.com}:${DB_PORT:3306}/${DB_NAME:fycashier}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
username: ${DB_USER:root}
password: ${DB_PWD:123456}
password: ${DB_PWD:Czg666888}
# 初始连接数
initial-size: 5
# 最小连接数

View File

@@ -26,7 +26,7 @@ spring:
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
show_sql: false
show_sql: true
redis:
#数据库索引