Commit 7184ce3e by 蒋勇

d

parent 05913f59
......@@ -7,24 +7,24 @@ class Pushmarketplatneed2fq extends TaskBase {
this.restclient = system.getObject("util.restClient");
this.fqbossUrl = settings.fqbossUrl();
}
async beforeTask(params) {
async beforeTask (params) {
console.log("前置操作......", this.serviceName);
//this.isThrough=true;
//console.log(this.cacheManager);
}
async subDoTask() {
async subDoTask () {
console.log("--------------");
console.log("TestTask1.....");
var obj = {
    "actionType":"pushFormInfo2Fq",
    "actionBody":{
    }
"actionType": "pushFormInfo2Fq",
"actionBody": {
}
}
try {
var url ="https://mmc-service.newtime/external/action/template/springBoard";
var url = "https://mmc-service.newtime/external/action/template/springBoard";
var rtn = await this.restclient.execPostMMC(obj, url);
var rtn = this.restclient.execPostMMC(obj, url);
return rtn;
} catch (error) {
console.log(error);
......
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