Commit 335ca74d by 宋毅

tj

parent 624b2fe2
......@@ -9,18 +9,16 @@ class TmreportTask extends TaskBase {
}
async beforeTask(params) {
console.log("前置操作......", this.serviceName);
//this.isThrough=true;
//console.log(this.cacheManager);
console.log("formatedTaskName", taskName)
return taskName + "|i|5"
}
async subDoTask() {
console.log("--------------");
console.log("TestTask1.....");
try {
var url = this.igirlWeburl + "api/tmtransactionApi/tmreport";
var transferinfo = await this.restclient.execGet(null, url);
var result = JSON.parse(transferinfo.stdout);
console.log(result);
return result;
this.restclient.execGet(null, url);
return system.getResultSuccess();
} catch (error) {
console.log(error);
return null;
......
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