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
a221ac8e
Commit
a221ac8e
authored
Sep 23, 2020
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商标聚合
parent
0d2ff682
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
6 deletions
+24
-6
center-channel/app/base/api/impl/action/tmQuery.js
+12
-6
center-channel/app/base/service/impl/trademark/tmquerySve.js
+12
-0
center-channel/app/front/entry/public/apidoc/opTrademark/tmSearch.md
+0
-0
No files found.
center-channel/app/base/api/impl/action/tmQuery.js
View file @
a221ac8e
...
@@ -103,22 +103,28 @@ class TmQueryAPI extends WEBBase {
...
@@ -103,22 +103,28 @@ class TmQueryAPI extends WEBBase {
opResult
=
await
this
.
toolSve
.
getNclByCode
(
pobj
,
req
);
opResult
=
await
this
.
toolSve
.
getNclByCode
(
pobj
,
req
);
break
;
break
;
case
"tmstatistics"
:
//商标统计接口总量、有效、申请
case
"tmstatistics"
:
//商标统计接口总量、有效、申请
opResult
=
await
this
.
tmquerySve
.
tmstatistics
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmstatistics
(
action_body
,
req
);
break
;
break
;
case
"tmcompanystatistics"
:
//商标统计接口公司总量
case
"tmcompanystatistics"
:
//商标统计接口公司总量
opResult
=
await
this
.
tmquerySve
.
tmcompanystatistics
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmcompanystatistics
(
action_body
,
req
);
break
;
break
;
case
"tmaddrstatisticsrank"
:
//商标地区分布统计排名
case
"tmaddrstatisticsrank"
:
//商标地区分布统计排名
opResult
=
await
this
.
tmquerySve
.
tmaddrstatisticsrank
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmaddrstatisticsrank
(
action_body
,
req
);
break
;
break
;
case
"tmcompanystatisticsrank"
:
//商标企业分布统计排名
case
"tmcompanystatisticsrank"
:
//商标企业分布统计排名
opResult
=
await
this
.
tmquerySve
.
tmcompanystatisticsrank
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmcompanystatisticsrank
(
action_body
,
req
);
break
;
break
;
case
"tmnclstatisticsrank"
:
//商标类别申请排名
case
"tmnclstatisticsrank"
:
//商标类别申请排名
opResult
=
await
this
.
tmquerySve
.
tmnclstatisticsrank
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmnclstatisticsrank
(
action_body
,
req
);
break
;
break
;
case
"tmtrend"
:
//商标申请及注册趋势
case
"tmtrend"
:
//商标申请及注册趋势
opResult
=
await
this
.
tmquerySve
.
tmtrend
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmtrend
(
action_body
,
req
);
break
;
case
"findTrademarkNameAccuratejuhe"
:
//通过商标名来进行精准查询,商标注册地域/大类分布
opResult
=
await
this
.
tmquerySve
.
findTrademarkNameAccuratejuhe
(
action_body
,
req
);
break
;
case
"findTrademarkNamejuhe"
:
//根据商标名称模糊查询,商标注册地域/大类分布
opResult
=
await
this
.
tmquerySve
.
findTrademarkNamejuhe
(
action_body
,
req
);
break
;
break
;
default
:
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
...
...
center-channel/app/base/service/impl/trademark/tmquerySve.js
View file @
a221ac8e
...
@@ -110,6 +110,18 @@ class TmqueryService {
...
@@ -110,6 +110,18 @@ class TmqueryService {
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
}
//通过商标名来进行精准查询,商标注册地域/大类分布
async
findTrademarkNameAccuratejuhe
(
queryobj
,
req
){
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/findTrademarkNameAccuratejuhe"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//根据商标名称模糊查询,商标注册地域/大类分布
async
findTrademarkNamejuhe
(
queryobj
,
req
){
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/findTrademarkNamejuhe"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
tmreport
(
queryobj
,
pobj
,
req
)
{
async
tmreport
(
queryobj
,
pobj
,
req
)
{
if
(
!
queryobj
.
type
)
{
if
(
!
queryobj
.
type
)
{
return
{
code
:
-
102
,
msg
:
"参数错误"
}
return
{
code
:
-
102
,
msg
:
"参数错误"
}
...
...
center-channel/app/front/entry/public/apidoc/opTrademark/tmSearch.md
View file @
a221ac8e
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