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
a13ae3ac
Commit
a13ae3ac
authored
Sep 22, 2020
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商标大数据聚合
parent
bf9f1979
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
0 deletions
+54
-0
center-channel/app/base/api/impl/action/tmQuery.js
+18
-0
center-channel/app/base/service/impl/trademark/tmquerySve.js
+36
-0
No files found.
center-channel/app/base/api/impl/action/tmQuery.js
View file @
a13ae3ac
...
...
@@ -102,6 +102,24 @@ class TmQueryAPI extends WEBBase {
case
"getNclByCode"
:
opResult
=
await
this
.
toolSve
.
getNclByCode
(
pobj
,
req
);
break
;
case
"tmstatistics"
:
//商标统计接口总量、有效、申请
opResult
=
await
this
.
tmquerySve
.
tmstatistics
(
pobj
,
req
);
break
;
case
"tmcompanystatistics"
:
//商标统计接口公司总量
opResult
=
await
this
.
tmquerySve
.
tmcompanystatistics
(
pobj
,
req
);
break
;
case
"tmaddrstatisticsrank"
:
//商标地区分布统计排名
opResult
=
await
this
.
tmquerySve
.
tmaddrstatisticsrank
(
pobj
,
req
);
break
;
case
"tmcompanystatisticsrank"
:
//商标企业分布统计排名
opResult
=
await
this
.
tmquerySve
.
tmcompanystatisticsrank
(
pobj
,
req
);
break
;
case
"tmnclstatisticsrank"
:
//商标类别申请排名
opResult
=
await
this
.
tmquerySve
.
tmnclstatisticsrank
(
pobj
,
req
);
break
;
case
"tmtrend"
:
//商标申请及注册趋势
opResult
=
await
this
.
tmquerySve
.
tmtrend
(
pobj
,
req
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
...
...
center-channel/app/base/service/impl/trademark/tmquerySve.js
View file @
a13ae3ac
...
...
@@ -74,6 +74,42 @@ class TmqueryService {
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//商标统计接口总量、有效、申请
async
tmstatistics
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/tmstatistics"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//商标统计接口公司总量
async
tmcompanystatistics
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/tmcompanystatistics"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//商标地区分布统计排名
async
tmaddrstatisticsrank
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/tmaddrstatisticsrank"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//商标企业分布统计排名
async
tmcompanystatisticsrank
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/tmcompanystatisticsrank"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//商标类别申请排名
async
tmnclstatisticsrank
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/tmnclstatisticsrank"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//商标申请及注册趋势
async
tmtrend
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/tmtrend"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
tmreport
(
queryobj
,
pobj
,
req
)
{
if
(
!
queryobj
.
type
)
{
return
{
code
:
-
102
,
msg
:
"参数错误"
}
...
...
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