Browse Source

BUG修复、完善

master
wxc 2 years ago
parent
commit
273400e9cb
  1. 2
      mailbox-lan/src/main/java/com/biutag/lan/crontab/MailSourceJob.java
  2. 14
      mailbox-lan/src/main/java/com/biutag/lan/domain/MailSource.java

2
mailbox-lan/src/main/java/com/biutag/lan/crontab/MailSourceJob.java

@ -29,7 +29,7 @@ public class MailSourceJob {
private final MailSourceService mailSourceService;
// @Scheduled(fixedRate = 30000)
// @Scheduled(fixedRate = 60000)
@Transactional(rollbackFor = Exception.class)
public void extractMailSource() {
System.out.println("extractMailSource------------");

14
mailbox-lan/src/main/java/com/biutag/lan/domain/MailSource.java

@ -88,11 +88,23 @@ public class MailSource {
@AllArgsConstructor
public enum Source {
// 局长信箱
MAILBOX("mailbox", "XXWW"),
// 110举报投诉
REPORT_COMPLAINTS("110_report_complaints", "JBTS"),
// 12345市长热线
HOTLINE("12345_mayor's_hotline", "SZRX"),
// 红网问政
RED_NETWORK_POLITICS("red_network_politics", "HWWZ"),
CREATE_YOUR_OWN_LETTERS("create_your_own_letters", "ZJXJ");
// 自建信件
CREATE_YOUR_OWN_LETTERS("create_your_own_letters", "ZJXJ"),
// 信访投诉
PETITION_COMPLAINTS("petition_complaints", "XXTS"),
// 新闻舆情
NEWS_OPINION("news_opinion", "XXYQ");
@Getter
private String value;

Loading…
Cancel
Save