From 89c7f6e5bcc21b0e8f83a2bc6d680e2ffe431e6f Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期一, 13 一月 2025 09:38:29 +0800
Subject: [PATCH] #
---
zy-acs-manager/src/main/resources/application.yml | 44 +++++++++++++++++++-------------------------
1 files changed, 19 insertions(+), 25 deletions(-)
diff --git a/zy-acs-manager/src/main/resources/application.yml b/zy-acs-manager/src/main/resources/application.yml
index dd056d3..e253677 100644
--- a/zy-acs-manager/src/main/resources/application.yml
+++ b/zy-acs-manager/src/main/resources/application.yml
@@ -1,6 +1,5 @@
server:
port: 8088
-# 192.168.137.66
spring:
application:
name: @pom.artifactId@
@@ -8,8 +7,9 @@
static-path-pattern: /**
datasource:
driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://localhost:3306/zy_rcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
-# url: jdbc:mysql://192.168.2.46:3306/zy_acs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+ url: jdbc:mysql://127.0.0.1:3306/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+# url: jdbc:mysql://127.0.0.1:33066/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+# url: jdbc:mysql://mysql:3306/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
username: root
password: xltys1995
type: com.alibaba.druid.pool.DruidDataSource
@@ -35,13 +35,13 @@
reset-enable: true
login-username: admin
login-password: admin
+ enabled: true
servlet:
multipart:
maxFileSize: 100MB
maxRequestSize: 100MB
jmx:
enabled: false
- # 閭欢鏈嶅姟鍣ㄩ厤缃�
mail:
host: smtp.qq.com
username:
@@ -55,6 +55,20 @@
class: javax.net.ssl.SSLSocketFactory
port: 465
+redis:
+ host: 127.0.0.1
+ # host: redis
+ password: xltys1995
+ port: 6379
+# port: 63799
+ max: 30
+ min: 10
+ timeout: 5000
+ index: 3
+
+floyd:
+ enable: false
+
eureka:
client:
enabled: false
@@ -62,7 +76,6 @@
defaultZone: http://192.168.2.46:8765/eureka/
mybatis-plus:
-# mapper-locations: classpath:mapper/*.xml
mapper-locations: classpath:mapper/*/*.xml
# global-config:
# field-strategy: 0
@@ -79,27 +92,8 @@
logging:
file:
- path: /stock/out/acs-manager/logs
+ path: stock/out/rcs-manager/logs
-auto:
- size: 5
- demo: false
- demo1: false
- demo2: false
- move: false
-
-#redis鐨勭浉鍏抽厤缃�
-redis:
- host: localhost
-# host: 192.168.2.46
- password: xltys1995
- port: 6379
- max: 30
- min: 10
- timeout: 5000
- index: 3
-
-# 妗嗘灦閰嶇疆
config:
open-office-home: C
swagger-base-package: com.zy.acs
--
Gitblit v1.9.1