Commit 373ce68b by 王勇飞

gyq

parent ce409fa6
...@@ -1049,7 +1049,7 @@ class ChinaPatentSearchApi extends ApiBase { ...@@ -1049,7 +1049,7 @@ class ChinaPatentSearchApi extends ApiBase {
} }
}, },
"from": 0, "from": 0,
"size": 50 "size": 1000,
}; };
for (var x in obj) { for (var x in obj) {
params.query.bool.must.push(obj[x]); params.query.bool.must.push(obj[x]);
......
...@@ -1387,3 +1387,22 @@ class PatentycCtl extends CtlBase { ...@@ -1387,3 +1387,22 @@ class PatentycCtl extends CtlBase {
} }
module.exports = PatentycCtl; module.exports = PatentycCtl;
// var task = new PatentycCtl();
// var obj = {
// "uid": "667b8300-c101-11ea-98dd-3142bd90eec4",
// "type": "html"
// };
// var d = task.ezGetReport({},obj,{})
// console.log("dddddd---------" + JSON.stringify(d));
// (async ()=>{
// var task = new PatentycCtl();
// var obj = {
// "uid": "735f9cd0-c103-11ea-9ecd-1d1c3e85a974",
// "type": "html"
// };
// var d = await task.ezGetReport({},obj,{})
// console.log("dddddd---------" + JSON.stringify(d));
// })()
...@@ -9414,13 +9414,13 @@ module.exports = PatentycService; ...@@ -9414,13 +9414,13 @@ module.exports = PatentycService;
// var d = task.ezGetReport(obj) // var d = task.ezGetReport(obj)
// console.log("dddddd---------" + d); // console.log("dddddd---------" + d);
(async ()=>{ // (async ()=>{
var task = new PatentycService(); // var task = new PatentycService();
var obj = { // var obj = {
"uid": "735f9cd0-c103-11ea-9ecd-1d1c3e85a974", // "uid": "735f9cd0-c103-11ea-9ecd-1d1c3e85a974",
"type": "html" // "type": "html"
}; // };
var d = await task.ezReadyReport(obj) // var d = await task.ezReadyReport(obj)
console.log("dddddd---------" + JSON.stringify(d)); // console.log("dddddd---------" + JSON.stringify(d));
})() // })()
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