Commit 7184ce3e by 蒋勇

d

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