切换测试数据库
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user