From e446e1b4297d25daa88f1d28e2dfa1b9d4e24bf7 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sat, 12 Nov 2022 22:58:02 +0800
Subject: [PATCH] fix

---
 src/main/resources/application-test.yml |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index 9e488dc..3ba483f 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -6,18 +6,20 @@
       timeout: 1
 
 spring:
+  profiles:
+    active: test
   mvc:
     async:
       request-timeout: 20s
   datasource:
     dynamic:
       # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗
-      p6spy: false
+      p6spy: true
       # 配置默认数据源
       primary: base
       datasource:
         base:
-          url: jdbc:mysql://120.27.238.55:3306/farmer_cms?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
+          url: jdbc:mysql://127.0.0.1:3306/farmer_cms?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
           username: ct_test
           password: 123456
           driver-class-name: com.mysql.cj.jdbc.Driver
@@ -63,7 +65,7 @@
     # Redis服务器连接端口
     port: 6379
     # Redis 密码
-    password: xcong123
+    password: d3y6dsdl;f.327
     jedis:
       pool:
         ## 连接池最大连接数(使用负值表示没有限制)
@@ -107,4 +109,4 @@
   template-path: /home/javaweb/webresource/cms/template
   static-path: /home/javaweb/webresource/cms/static
   output-path: /home/javaweb/webresource/cms/output
-
+  download-path: /home/javaweb/webresource/cms/static/download

--
Gitblit v1.9.1