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