切换测试数据库

This commit is contained in:
2025-09-11 13:26:39 +08:00
parent ed100c0ca2
commit 1a4942d7f7
2 changed files with 4 additions and 4 deletions

View File

@@ -7,9 +7,9 @@ server:
# 数据源配置 # 数据源配置
spring: spring:
datasource: datasource:
url: jdbc:mysql://8.134.169.209:13306/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai url: jdbc:mysql://8.134.169.209:13306/cms_demo?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
username: modules username: cms_demo
password: 8YdLnk7KsPAyDXGA password: EtzJFr4A3c4THZjY
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource

View File

@@ -26,7 +26,7 @@ public class TestMain {
private HjmCarService hjmCarService; private HjmCarService hjmCarService;
/** /**
* 生成唯一的key用于jwt工具类1 * 生成唯一的key用于jwt工具类
*/ */
@Test @Test
public void testGenJwtKey() { public void testGenJwtKey() {