瀏覽代碼

配置文件

15044148858 1 月之前
父節點
當前提交
365d2d2d0c

+ 6 - 6
zhjq-admin/src/main/resources/application-druid.yml

@@ -6,12 +6,12 @@ spring:
     druid:
     druid:
       # 主库数据源
       # 主库数据源
       master:
       master:
-        url: jdbc:mysql://www.sooka.onest.db:63306/zhjq?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-        username: sooka
-        password: sooka1a2b3c4d%...
-#        url: jdbc:mysql://1.94.255.6:53306/zhjq?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-#        username: root
-#        password: sooka123456
+#        url: jdbc:mysql://www.sooka.onest.db:63306/zhjq?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+#        username: sooka
+#        password: sooka1a2b3c4d%...
+        url: jdbc:mysql://1.94.255.6:53306/zhjq?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        username: root
+        password: Sooka12345!!@#$%
 #        url: jdbc:mysql://192.168.10.15:63306/zhjq?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
 #        url: jdbc:mysql://192.168.10.15:63306/zhjq?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
 #        username: sooka
 #        username: sooka
 #        password: sooka1a2b3c4d%...
 #        password: sooka1a2b3c4d%...

+ 0 - 2
zhjq-business/src/main/java/com/zhjq/quartz/PersonCountGroupJob.java

@@ -64,8 +64,6 @@ public class PersonCountGroupJob {
     private final String appSecret1 = "73e68e1ea7b3757a96ff847b97a20ed161746e30";
     private final String appSecret1 = "73e68e1ea7b3757a96ff847b97a20ed161746e30";
 
 
 
 
-    // 使用 cron 表达式配置每30分钟执行一次
-    @Scheduled(cron = "0 */30 * * * ?")
     public void getPersonCountGroup() throws Exception {
     public void getPersonCountGroup() throws Exception {
         log.info("开始执行海康获取客流量统计定时任务");
         log.info("开始执行海康获取客流量统计定时任务");
         List<ZhjqPassengerFlow> list = PersonCountGroupURL.PersonCountGroupURL(host, appKey, appSecret);
         List<ZhjqPassengerFlow> list = PersonCountGroupURL.PersonCountGroupURL(host, appKey, appSecret);