Commit 9b8be01a by 蒋勇

d

parent 748beca8
...@@ -6,12 +6,15 @@ class AliicapiTask extends TaskBase { ...@@ -6,12 +6,15 @@ class AliicapiTask extends TaskBase {
super(TaskBase.getServiceName(AliicapiTask)); super(TaskBase.getServiceName(AliicapiTask));
this.restclient = system.getObject("util.restClient"); this.restclient = system.getObject("util.restClient");
} }
async beforeTask(params) { /**
console.log("前置操作......", this.serviceName); * 每隔10分钟检查一次
//this.isThrough=true; * @param {*} taskName
//console.log(this.cacheManager); */
formatedTaskName (taskName) {
console.log("formatedTaskName", taskName)
return taskName + "|i|5"
} }
async subDoTask() { async subDoTask () {
console.log("--------------"); console.log("--------------");
console.log("TestTask1....."); console.log("TestTask1.....");
var obj = { var obj = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment