Commit 0697a94a by 蒋勇

d

parent 71140e02
......@@ -23,6 +23,7 @@ class RestClient {
var data = JSON.stringify(subData);
var cmd = this.cmdPostPattern.replace(/\{data\}/g,
data).replace(/\{url\}/g, url);
cmd = cmd.replace(/,null/g, "");
return cmd;
}
FetchPostCmd2(subData, url) {
......
var fs=require("fs");
var browserify = require("browserify");
var babelify = require("babelify");
browserify("/home/jy/dev/OMC/igirl-web/app/front/vues/allie/base/backbtn.vue")
.transform(babelify, {presets: ["@babel/preset-env"]})
.bundle()
.pipe(fs.createWriteStream("./vue2.js"));
\ No newline at end of file
var x=`
curl --user admines:adminGSBes. -k -H 'Content-type: application/json' -d '{"query":{"bool":{"must":[{"match":{"filing_name":"5G"}},null]}},"from":0,"size":1,"aggregations":{"types":{"terms":{"field":"country_name","size":20,"order":{"_count":"desc"}}}}}' http://43.247.184.94:9200/bigdata_patent_op/_search
`;
var m=x.replace(/,null/g,"");
console.log(m);
\ No newline at end of file
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