Commit f936d9d8 by 宋毅

tj

parent 60b979a9
......@@ -67,6 +67,10 @@ class ToolService {
}
async opReqResult(reqUrl, queryobj, req) {
var rtn = await this.execClient.execPushDataPost(queryobj, reqUrl, req.headers["token"], req.headers["request-id"]);
console.log(rtn.stdout, "...opReqResult....................");
if (!rtn || !rtn.stdout) {
rtn = await this.execClient.execPushDataPost(queryobj, reqUrl, req.headers["token"], req.headers["request-id"]);
}
var data = JSON.parse(rtn.stdout);
return data;
}
......
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