change db to 3.9

master
修改密码漏洞修复完成 6 months ago
parent f8754af505
commit 50dfb7ad27

@ -45,9 +45,9 @@ public class ScheduledService {
* @description:
* @Param: null
*/
// @Scheduled(cron = "0 48 * * * *")
// @Scheduled(cron = "0 13 10 * * *")
// public void getZjsltHistoryStormList() {
// for(int i=1940;i<2025;i++){
// for(int i=1940;i<2026;i++){
// getZjsltStormList(String.valueOf(i));
// }
// }
@ -56,7 +56,7 @@ public class ScheduledService {
* @description:
* @Param: null
*/
@Scheduled(cron = "0 2 * * * *")
@Scheduled(cron="0 5 0/1 * * *")
public void getZjsltStormList() {
System.out.println("getZjsltStormList");
String strNow = String.valueOf(System.currentTimeMillis());
@ -240,7 +240,7 @@ public class ScheduledService {
* @description:
* @Param: null
*/
@Scheduled(cron = "0 3 * * * *")
@Scheduled(cron="0 5 0/1 * * *")
public void getWztfStormList() {
// 初始化 OkHttpClient
OkHttpClient client = new OkHttpClient.Builder()

@ -15,7 +15,7 @@ spring:
# url: jdbc:mysql://192.168.1.71:2881/hefengweather?useUnicode=true&characterEncoding=utf-8&useSSL=false
#url: jdbc:mysql://192.168.2.18:3306/nmcweather?useUnicode=true&characterEncoding=utf-8&useSSL=false
driverClassName: com.mysql.cj.jdbc.Driver #com.mysql.cj.jdbc.Driver com.mysql.jdbc.Driver
url: jdbc:mysql://192.168.3.29:3306/disruptor_nmc?useUnicode=true&characterEncoding=utf-8&useSSL=false
url: jdbc:mysql://192.168.3.9:3306/disruptor_nmc?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: Skyinno251,
# driverClassName: oracle.jdbc.driver.OracleDriver

Loading…
Cancel
Save