Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
0d8a0c3e
Commit
0d8a0c3e
authored
Sep 16, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gyq
parent
cb26e145
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
igirl-zcapi/app/base/api/impl/action/patentQuery.js
+13
-9
No files found.
igirl-zcapi/app/base/api/impl/action/patentQuery.js
View file @
0d8a0c3e
...
...
@@ -9,7 +9,7 @@ class PatentQueryAPI extends APIBase {
this
.
wpatentsearchApi
=
system
.
getObject
(
"api.patent.wordpatentsearch"
);
this
.
wpatentaggApi
=
system
.
getObject
(
"api.patent.wpatentaggregations"
);
this
.
copyrightApi
=
system
.
getObject
(
"api.patent.copyrightsearch"
);
this
.
chinapatentsearchApi
=
system
.
getObject
(
"api.patent.chinapatentsearch"
);
}
/**
...
...
@@ -65,17 +65,20 @@ class PatentQueryAPI extends APIBase {
opResult
=
await
this
.
copyrightApi
.
worksDetailsByregNum
(
action_body
);
break
;
case
"CommomSearchbyTitle"
:
//根据标题查询聚合
opResult
=
await
this
.
c
hina
patentsearchApi
.
CommomSearchbyTitle
(
action_body
);
opResult
=
await
this
.
cpatentsearchApi
.
CommomSearchbyTitle
(
action_body
);
break
;
case
"CommomSearchbyFilingno"
:
//根据申请号查询聚合
opResult
=
await
this
.
c
hina
patentsearchApi
.
CommomSearchbyFilingno
(
action_body
);
opResult
=
await
this
.
cpatentsearchApi
.
CommomSearchbyFilingno
(
action_body
);
break
;
case
"CommomSearchbyPubno"
:
//根据公开号查询聚合
opResult
=
await
this
.
c
hina
patentsearchApi
.
CommomSearchbyPubno
(
action_body
);
opResult
=
await
this
.
cpatentsearchApi
.
CommomSearchbyPubno
(
action_body
);
break
;
case
"CommomSearchbyInventor"
:
//根据发明人查询聚合
opResult
=
await
this
.
c
hina
patentsearchApi
.
CommomSearchbyInventor
(
action_body
);
opResult
=
await
this
.
cpatentsearchApi
.
CommomSearchbyInventor
(
action_body
);
break
;
case
"AffairsearchbyFilingno"
:
opResult
=
await
this
.
caffairsearchApi
.
SearchbyFilingno
(
action_body
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
...
...
@@ -87,12 +90,12 @@ module.exports = PatentQueryAPI;
// var tesk = new PatentQueryAPI();
// var parm = {
// actionType:"
paShortListByApplicantName
",
// actionBody:{
applicant_name:"中国专利信息中心
"}
// actionType:"
AffairsearchbyFilingno
",
// actionBody:{
filingno:"201410451887
"}
// };
// tesk.springBoard(parm).then(function(result){
// console.log(
result
);
// console.log(result.data.data[0]);
// console.log(
JSON.stringify(result)
);
//
//
console.log(result.data.data[0]);
// }).catch(function(e){
// console.log(e);
// });
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment