From ea4dda9def8d75d5ca8796771cf22b37fcd251d1 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Thu, 07 Aug 2025 15:39:16 +0800
Subject: [PATCH] bug修改
---
src/main/resources/application.yml | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index d53b32c..703c3e1 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -2,7 +2,7 @@
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8090
- port: 8091
+ port: 8219
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
@@ -15,6 +15,8 @@
min-spare: 100
# 日志配置
logging:
+ file:
+ encoding: UTF-8
level:
com.ruoyi: debug
org.springframework: warn
@@ -89,7 +91,7 @@
devtools:
restart:
# 热部署开关
- enabled: true
+ enabled: false
freemarker:
cache: false #false 页面不设置缓存,更改及生效!
@@ -102,7 +104,7 @@
# 地址
host: localhost
# 端口,默认为6379
- port: 6379
+ port: 6380
# 数据库索引
database: 0
# 密码
@@ -122,9 +124,9 @@
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:7306/stock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+ url: jdbc:mysql://127.0.0.1:6306/stock_ci?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
# url: jdbc:mysql://127.0.0.1:3306/cgstock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
- username: root
+ username: stock_ci
password: 123456
druid:
# 初始连接数
@@ -166,3 +168,9 @@
wall:
config:
multi-statement-allow: false
+ jpa:
+ hibernate:
+ ddl-auto: none # 可选值: create, create-drop, update, validate, none
+ show-sql: false # 显示SQL语句
+ properties:
+ hibernate.format_sql: true # 格式化SQL语句
\ No newline at end of file
--
Gitblit v1.9.3