瀏覽代碼

修改数据库配置

yumeng 4 周之前
父節點
當前提交
8abf317ddb

+ 1 - 1
jeecg-boot-module-system/src/main/java/cn/com/ctop/toutiao/modules/material/controller/FirstDeliveryValidController.java

@@ -71,7 +71,7 @@ public class FirstDeliveryValidController {
                         //宇鹏本地服务
 //                        HttpUtils.fileUpload("http://192.168.1.149:8765/webhook/get_file", newFileUrl, null);
                         //宇鹏外网服务
-                        HttpUtils.fileUpload("http://111.204.208.194:9998/webhook/get_file", newFileUrl, null);
+                        HttpUtils.fileUpload("http://111.204.208.234:9998/webhook/get_file", newFileUrl, null);
                     } catch (Exception e) {
                         e.printStackTrace();
                         redisUtil.removeAll(key);

+ 8 - 8
jeecg-cloud-module/jeecg-cloud-system-start/src/main/resources/application-dev.yml

@@ -113,15 +113,15 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          #---------------------线上库
-          #          url: jdbc:mysql://139.186.27.96:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2B8
-          #          username: data
-          #          password: hcst@2021
-          #---------------------测试库
-          url: jdbc:mysql://139.186.165.84:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai
+        #  ---------------------线上库
+          url: jdbc:mysql://172.30.0.36:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2B8
           username: hcst
-          password: hcst@2020
-          driver-class-name: com.mysql.jdbc.Driver
+          password: hcst@2025
+          #---------------------测试库
+#          url: jdbc:mysql://139.186.165.84:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai
+#          username: hcst
+#          password: hcst@2020
+#          driver-class-name: com.mysql.jdbc.Driver
   #redis 配置
   redis:
     database: 0

+ 1 - 1
jeecg-cloud-module/jeecg-cloud-system-start/src/main/resources/application-test.yml

@@ -196,7 +196,7 @@ jeecg:
     report-history: D://mnt//reportKs//
     report-daily: D://mnt//reportKs//
 kuaishou:
-  realuser-ip: 111.204.208.194
+  realuser-ip: 111.204.208.234
   api-url: https://ad.e.kuaishou.com
   auth-url: https://ad.e.kuaishou.com
   appid: 27