Compare commits

..

No commits in common. 'e4842142a613d6e6ae0175a34347861f267d1284' and 'e4e3b10e0ece8f7871604066f0b2692d6a545f2b' have entirely different histories.

  1. 2
      src/main/java/com/biutag/supervision/job/Job.java
  2. 16
      src/main/resources/application-dev.yml

2
src/main/java/com/biutag/supervision/job/Job.java

@ -103,7 +103,7 @@ public class Job {
/** /**
* 凌晨1点执行 * 凌晨1点执行
*/ */
// @Scheduled(cron = "0 0 1 * * ?") @Scheduled(cron = "0 0 1 * * ?")
public void mailbox() { public void mailbox() {
mailService.saveMailbox(); mailService.saveMailbox();
} }

16
src/main/resources/application-dev.yml

@ -37,15 +37,9 @@ spring:
# username: alphay # username: alphay
# password: alphay@123 # password: alphay@123
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://172.31.217.20:30924/mailbox?currentSchema=mailbox url: jdbc:postgresql://59.173.13.131:10642/mailbox?currentSchema=mailbox
username: pg username: root
password: ip12341234 password: 123456
# driver-class-name: org.postgresql.Driver
# url: jdbc:postgresql://59.173.13.131:10642/mailbox?currentSchema=mailbox
# username: root
# password: 123456
wvp: wvp:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
@ -77,9 +71,9 @@ spring:
password: ip12341234 password: ip12341234
data: data:
redis: redis:
host: localhost host: 172.31.217.20
# 端口,默认为6379 # 端口,默认为6379
port: 6379 port: 31707
# 数据库索引 # 数据库索引
database: 1 database: 1
# 连接超时时间 # 连接超时时间

Loading…
Cancel
Save