Commit 80848f10 by 宋毅

tj

parent f78f1de9
...@@ -51,6 +51,7 @@ class ExecClient { ...@@ -51,6 +51,7 @@ class ExecClient {
var requestId = this.getUUID(); var requestId = this.getUUID();
var cmd = this.cmdPostTK.replace(/\{data\}/g, var cmd = this.cmdPostTK.replace(/\{data\}/g,
data).replace(/\{url\}/g, url).replace(/\{tk\}/g, token).replace(/\{requestId\}/g, requestId); data).replace(/\{url\}/g, url).replace(/\{tk\}/g, token).replace(/\{requestId\}/g, requestId);
console.log(cmd);
return cmd; return cmd;
} }
async exec(cmd) { async exec(cmd) {
......
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