fix: 修改数据库配置为create模式,确保新用户默认3金币

- 修改ddl-auto为create,每次启动重建表
- 修改BASE_URL为localhost进行本地测试
- 确保注销账号后重新登录获得3金币
This commit is contained in:
H1d3rOne committed 2026-03-10 02:07:38 +08:00
1 parent 6561e9034b
commit c48517aeac
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
nohup: spring-boot:run: No such file or directory
+1 -1
View File
@@ -9,7 +9,7 @@ spring.datasource.password=xuan_password
# JPA Configuration
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.ddl-auto=create
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true