Commit e27dcbd3 by 蒋勇

Merge branch 'taskexecutor' of gitlab.gongsibao.com:jiangyong/zhichan into taskexecutor

parents 76215eb8 9357a2d3
......@@ -18,12 +18,11 @@ class ZcbusinessTask extends TaskBase {
var obj = {
"actionType": "taskpolicyneed2fq",
"actionBody": {
"limit": 5 //推送数据条数 默认100条
"limit": 100 //推送数据条数 默认100条
}
}
try {
var url = this.centerOrderUrl + "action/policy/springBoard";
console.log("aaaaaaaaaaaaaaaaaaaaaaaa");
var zcinfo = await this.restclient.execPost(obj, url);
console.log(zcinfo);
var result = JSON.parse(zcinfo.stdout);
......@@ -35,7 +34,4 @@ class ZcbusinessTask extends TaskBase {
}
}
}
module.exports = ZcbusinessTask;
var a=new ZcbusinessTask();
a.subDoTask();
\ No newline at end of file
module.exports = ZcbusinessTask;
\ No newline at end of file
......@@ -32,7 +32,7 @@ var settings = {
if (this.env == "dev") {
return "http://gsb.qifu.gongsibao.com:4011/";
} else {
return "http://center-order-service/";
return "http://center-order-service.chaolai/";
}
},
reqTransferurl: function () {
......
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