From fa1b69cd7a1733cac8f7b3dbda743d4ea53dce8b Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期四, 02 三月 2023 20:48:49 +0800
Subject: [PATCH] 配置文件

---
 ycl-platform/src/main/resources/application-dev.yml  |   25 +++----------------------
 ycl-platform/src/main/resources/application-prod.yml |   16 +++++++++-------
 2 files changed, 12 insertions(+), 29 deletions(-)

diff --git a/ycl-platform/src/main/resources/application-dev.yml b/ycl-platform/src/main/resources/application-dev.yml
index c903937..469d7c8 100644
--- a/ycl-platform/src/main/resources/application-dev.yml
+++ b/ycl-platform/src/main/resources/application-dev.yml
@@ -34,30 +34,10 @@
         min-idle: 0
         timeout: 0
 
-#  datasource:
-#    url: jdbc:mysql://42.193.1.25:3306/sccg?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false
-#    username: root
-#    password: 321$YcYl@1970!
-#    type: com.alibaba.druid.pool.DruidDataSource
-#    driver-class-name: com.mysql.cj.jdbc.Driver
-#    filters: stat
-#    maxActive: 20
-#    initialSize: 1
-#    maxWait: 60000
-#    minIdle: 1
-#    timeBetweenEvictionRunsMillis: 60000
-#    minEvictableIdleTimeMillis: 300000
-#    validationQuery: select 'x'
-#    testWhileIdle: true
-#    testOnBorrow: false
-#    testOnReturn: false
-#    poolPreparedStatements: true
-#    maxOpenPreparedStatements: 20
-
   datasource:
-    url: jdbc:mysql://124.222.18.104:3319/sccg?characterEncoding=utf-8
+    url: jdbc:mysql://42.193.1.25:3306/sccg?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false
     username: root
-    password: root
+    password: 321$YcYl@1970!
     type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: com.mysql.cj.jdbc.Driver
     filters: stat
@@ -74,6 +54,7 @@
     poolPreparedStatements: true
     maxOpenPreparedStatements: 20
 
+
 e-mail:
   sendHost: smtp.qq.com
   username: 1723292425@qq.com
diff --git a/ycl-platform/src/main/resources/application-pro.yml b/ycl-platform/src/main/resources/application-prod.yml
similarity index 83%
rename from ycl-platform/src/main/resources/application-pro.yml
rename to ycl-platform/src/main/resources/application-prod.yml
index 55a305c..a855947 100644
--- a/ycl-platform/src/main/resources/application-pro.yml
+++ b/ycl-platform/src/main/resources/application-prod.yml
@@ -24,18 +24,20 @@
 spring:
   redis:
     database: 0
-    host: localhost
-    password:
+    host: 127.0.0.1
+    port: 6379
+    password: ycl2018
     jedis:
       pool:
         max-active: 8
         max-idle: 8
         min-idle: 0
         timeout: 0
+
   datasource:
-    url: jdbc:mysql://42.193.1.25:3306/sccg?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false
-    username: root
-    password: 321$YcYl@1970!
+    url: jdbc:mysql://10.110.247.252:3306/sccg?characterEncoding=utf-8
+    username: toor
+    password: v6VGHAzXEu$zF7
     type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: com.mysql.cj.jdbc.Driver
     filters: stat
@@ -64,8 +66,8 @@
   url: http://localhost:8082/sccg/text/sms_res
 
 videoPoint:
-  url: http://183.245.159.161:8281
-  port: 8281
+  url: http://192.168.202.115:8314
+  port: 8314
   userName: suichang
   passWord: a12345677
   ip: 10.10.10.10
\ No newline at end of file

--
Gitblit v1.8.0