From edd5bf1c50327c7da1c18f82b46f8cee64d5bab1 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 09 Jan 2024 14:37:59 +0800
Subject: [PATCH] 20220812

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

diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index 91da737..71fac82 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -6,12 +6,23 @@
       timeout: 1
 
 spring:
+  profiles:
+    active: test
+  mvc:
+    async:
+      request-timeout: 20s
   datasource:
-    url: jdbc:mysql://120.27.238.55:3306/farmer_cms?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
-    username: ct_test
-    password: 123456
-    driver-class-name: com.mysql.jdbc.Driver
-    type: com.alibaba.druid.pool.DruidDataSource
+    dynamic:
+      # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗
+      p6spy: true
+      # 配置默认数据源
+      primary: base
+      datasource:
+        base:
+          url: jdbc:mysql://127.0.0.1:3306/db_anentang?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8
+          username: db_anentang
+          password: db_anentang123
+          driver-class-name: com.mysql.cj.jdbc.Driver
     druid:
       initial-size: ${spring_datasource_druid_initial_size:10}
       max-active: ${spring_datasource_druid_max_active:20}
@@ -50,11 +61,11 @@
     # Redis数据库索引(默认为 0)
     database: 0
     # Redis服务器地址
-    host: 120.27.238.55
+    host: 127.0.0.1
     # Redis服务器连接端口
     port: 6379
     # Redis 密码
-    password: xcong123
+    password: dapp!@#123
     jedis:
       pool:
         ## 连接池最大连接数(使用负值表示没有限制)
@@ -74,8 +85,8 @@
 
   servlet:
     multipart:
-      max-file-size: 10MB
-      max-request-size: 100MB
+      max-file-size: 512MB
+      max-request-size: 512MB
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
 
@@ -89,6 +100,13 @@
 
 static:
   resource:
-    url: http://120.27.238.55:8000/uploadeFile/image/
+    url: http://admin.fnt-sh.com/uploadeFile/image/
     path: /home/javaweb/webresource/uploadeFile/image/
 
+cms:
+  api-url: http://154.91.195.148:8878
+  static-url: http://admin.fnt-sh.com/cms/static/
+  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