From a499e5a737991461554805af6b72fba65a680776 Mon Sep 17 00:00:00 2001
From: qirong <2032486488@qq.com>
Date: 星期五, 07 四月 2023 11:53:41 +0800
Subject: [PATCH] 更改环境

---
 ycl-platform/src/main/resources/application-dev.yml |  140 ++++++++++++++++++++++++----------------------
 1 files changed, 74 insertions(+), 66 deletions(-)

diff --git a/ycl-platform/src/main/resources/application-dev.yml b/ycl-platform/src/main/resources/application-dev.yml
index fb136e5..6cdd909 100644
--- a/ycl-platform/src/main/resources/application-dev.yml
+++ b/ycl-platform/src/main/resources/application-dev.yml
@@ -1,66 +1,74 @@
-server:
-  port: 8082
-  tomcat:
-    uri-encoding: UTF-8
-  servlet:
-    context-path: /air
-    compression: true
-
-fdfs:
-  fileUrl: http://140.143.152.226:8410/
-  groupName: sczhzf
-  soTimeout: 1500
-  connectTimeout: 600
-  trackerList: #TrackerList鍙傛暟,鏀寔澶氫釜
-    - 140.143.152.226:22122
-
-cfg:
-  res: d://resources
-  media-res: 140.143.152.226/media/
-  snow-flake:
-    datacenterId: 1
-    machineId: 1
-
-spring:
-  redis:
-    database: 0
-    host: 42.193.1.25
-    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/news_website?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
-e-mail:
-  sendHost: smtp.qq.com
-  username: 1723292425@qq.com
-  password: qizcitupatzoeeij
-
-SMS:
-  ecName: ycl
-  apId: 1
-  sign: sign
-  url: http://localhost:8082/sccg/text/sms_res
-
+server:
+  port: 8099
+  tomcat:
+    uri-encoding: UTF-8
+  servlet:
+    context-path: /air
+    compression: true
+
+#fdfs:
+#  fileUrl: http://140.143.152.226:8410/
+#  groupName: sczhzf
+#  soTimeout: 1500
+#  connectTimeout: 600
+#  trackerList: #TrackerList鍙傛暟,鏀寔澶氫釜
+#    - 140.143.152.226:22122
+
+#cfg:
+#  res: d://resources
+#  media-res: 140.143.152.226/media/
+#  snow-flake:
+#    datacenterId: 1
+#    machineId: 1
+
+spring:
+  redis:
+    database: 0
+    host: 192.168.3.206
+    port: 6379
+    password: 321$YcYl@1970!
+    jedis:
+      pool:
+        max-active: 8
+        max-idle: 8
+        min-idle: 0
+        timeout: 0
+
+  datasource:
+    url: jdbc:mysql://192.168.3.206:3306/news_website?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true
+    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
+  #閰嶇疆pageHelper
+  pageHelper:
+    reasonable: "true"
+    supportMethodsArguments: "true"
+    returnPageInfo: check
+    params: count=countSql
+#e-mail:
+#  sendHost: smtp.qq.com
+#  username: 1723292425@qq.com
+#  password: qizcitupatzoeeij
+#
+#SMS:
+#  ecName: ycl
+#  apId: 1
+#  sign: sign
+#  url: http://localhost:8082/sccg/text/sms_res
+
+admin:
+  defaultPassword: 111111

--
Gitblit v1.8.0