From 7a33c5b558e7e4ab5760261accbd32c7f2056c4a Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 23 九月 2024 19:16:13 +0800 Subject: [PATCH] 大屏分离平台在线和考核成绩接口 --- ycl-server/src/main/resources/application-dev.yml | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ycl-server/src/main/resources/application-dev.yml b/ycl-server/src/main/resources/application-dev.yml index 137d862..c1636bd 100644 --- a/ycl-server/src/main/resources/application-dev.yml +++ b/ycl-server/src/main/resources/application-dev.yml @@ -37,9 +37,12 @@ spring: # 鏁版嵁婧愰厤缃� datasource: - url: jdbc:mysql://101.35.247.188:3306/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&allowPublicKeyRetrieval=true +# url: jdbc:mysql://101.35.247.188:3306/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&allowPublicKeyRetrieval=true +# username: root +# password: ycl@202466 + url: jdbc:mysql://localhost:3306/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true&allowPublicKeyRetrieval=true username: root - password: ycl@202466 + password: 1234 type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver @@ -77,12 +80,12 @@ spring.data: redis: # 鍦板潃 - host: 42.193.1.25 -# host: 127.0.0.1 +# host: 42.193.1.25 + host: 127.0.0.1 # 绔彛锛岄粯璁や负6379 port: 6379 - password: ycl2018 -# password: +# password: ycl2018 + password: 123456 # 鏁版嵁搴撶储寮� database: 0 # 瀵嗙爜(濡傛病鏈夊瘑鐮佽娉ㄩ噴鎺�) @@ -126,7 +129,8 @@ spring: data: mongodb: - uri: mongodb://root1:yunwei%402024@192.168.3.88:27017/zgyw?authSource=admin +# uri: mongodb://root1:yunwei%402024@192.168.3.88:27017/zgyw?authSource=admin + uri: mongodb://localhost:27017/zgyw # 鎷夊彇鏁版嵁璇锋眰閰嶇疆 request: -- Gitblit v1.8.0