Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
yi.wang
2022-01-21 09:22:01 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8eed98e327947c1b363656f13751999445689fe1
8eed98e3
1 parent
6ac89d77
注释任务
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
src/main/java/com/erry/iclear/dateInterface/task/IClearApiTask.java
src/main/java/com/erry/iclear/dateInterface/task/IClearApiTask.java
View file @
8eed98e
...
...
@@ -51,12 +51,15 @@ public class IClearApiTask {
log
.
error
(
"pushMawbTask() error:"
+
e
.
getMessage
());
}
}
/**
/*
* wy on 2022年1月20日17:50:57
* 经clj确认,这两个任务没有必要
* *//**
* TODO 定时任务:每分钟推送: 推送失败的回执数据,
*/
*/
/*
@Scheduled(cron = "${task.pushErrorReturnDate}")
public void pushErrorReturnDate(){
try
{
*//*
try{
log.info("pushErrorReturnDate start>>>>>>>>>>>>");
//获取token
getToken();
...
...
@@ -65,14 +68,14 @@ public class IClearApiTask {
log.info("pushErrorReturnDate end>>>>>>>>>>>>");
}catch (Exception e){
log.error("pushErrorReturnDate() error:" +e.getMessage());
}*//*
}
}
/**
*//**
* TODO 定时任务:每分钟推送: 推送失败的申报数据,
*/
*/
/*
@Scheduled(cron = "${task.pushErrorDeclareDate}")
public void pushErrorData(){
try
{
*//*
try{
log.info("pushErrorDeclareDate start>>>>>>>>>>>>");
//获取token
getToken();
...
...
@@ -81,8 +84,8 @@ public class IClearApiTask {
log.info("pushErrorDeclareDate end>>>>>>>>>>>>");
}catch (Exception e){
log.error("pushErrorDeclareDate() error:" +e.getMessage());
}
}
}
*//*
}
*/
/**
* 获取token
...
...
Please
register
or
login
to post a comment