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
b94edf0b
Commit
b94edf0b
authored
Aug 17, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gyq
parent
f93f43af
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
ipop-web/app/base/controller/impl/patentycCtl.js
+14
-12
ipop-web/app/base/service/impl/patentycSve.js
+0
-0
No files found.
ipop-web/app/base/controller/impl/patentycCtl.js
View file @
b94edf0b
...
...
@@ -76,7 +76,7 @@ class PatentycCtl extends CtlBase {
if
(
obj
.
companyname
&&
obj
.
companyname
!=
'undefined'
){
try
{
var
result
=
await
this
.
service
.
competitionAnalysisInfo
(
obj
);
if
(
result
){
if
(
JSON
.
stringify
(
result
)
!=
'{}'
){
return
System
.
getResult2
(
result
);
}
else
{
...
...
@@ -94,10 +94,10 @@ class PatentycCtl extends CtlBase {
}
async
competitionAnalysisContex
(
pobj
,
obj
,
req
){
//竞争分析详细信息
if
(
obj
.
company1
&&
obj
.
company1
!=
'undefined'
&&
obj
.
company2
&&
obj
.
company2
!=
'undefined'
){
if
(
obj
.
company1
&&
obj
.
company1
!=
'undefined'
&&
obj
.
company2
&&
obj
.
company2
!=
'undefined'
&&
obj
.
keyword1
&&
obj
.
keyword1
!=
'undefined'
&&
obj
.
keyword2
&&
obj
.
keyword2
){
try
{
var
result
=
await
this
.
service
.
competitionAnalysisContex
(
obj
);
if
(
result
){
if
(
JSON
.
stringify
(
result
)
!=
'{}'
){
return
System
.
getResult2
(
result
);
}
else
{
...
...
@@ -1430,15 +1430,17 @@ class PatentycCtl extends CtlBase {
}
module
.
exports
=
PatentycCtl
;
// var task = new PatentycCtl();
// var obj = {
// "companyname": "667b8300-c101-11ea-98dd-3142bd90eec4",
// "company2": "html"
// };
// task.competitionAnalysisInfo({},obj,{}).then(d=>{
// console.log(JSON.stringify(d));
// //console.log(d[0].analyse);
// })
var
task
=
new
PatentycCtl
();
var
obj
=
{
"company1"
:
"华为技术有限公司"
,
"company2"
:
"中兴通讯股份有限公司"
,
"keyword1"
:
"用户设备,通信领域,通信技术,设备发送,指示信息,通信系统,通信方法,设备接收,对应关系,基站发送,终端发送,用户体验,配置信息,请求消息,数据传输方法,用户终端,网络侧,移动终端,通信设备,传输方法"
,
"keyword2"
:
"用户体验,移动终端,用户设备,相关技术,网络侧,终端发送,用户终端,配置信息,指示信息,请求消息,对应关系,传输方法,基站发送,通信系统,数据传输方法,通信领域,通信技术,设备发送,响应消息,发送方法"
};
task
.
competitionAnalysisContex
({},
obj
,{}).
then
(
d
=>
{
console
.
log
(
JSON
.
stringify
(
d
));
//console.log(d[0].analyse);
})
// (async ()=>{
// var task = new PatentycCtl();
...
...
ipop-web/app/base/service/impl/patentycSve.js
View file @
b94edf0b
This diff is collapsed.
Click to expand it.
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