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
3272f1cb
Commit
3272f1cb
authored
Sep 23, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
12da7fb7
a221ac8e
Expand all
Hide 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 @
3272f1cb
...
...
@@ -103,22 +103,28 @@ class TmQueryAPI extends WEBBase {
opResult
=
await
this
.
toolSve
.
getNclByCode
(
pobj
,
req
);
break
;
case
"tmstatistics"
:
//商标统计接口总量、有效、申请
opResult
=
await
this
.
tmquerySve
.
tmstatistics
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmstatistics
(
action_body
,
req
);
break
;
case
"tmcompanystatistics"
:
//商标统计接口公司总量
opResult
=
await
this
.
tmquerySve
.
tmcompanystatistics
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmcompanystatistics
(
action_body
,
req
);
break
;
case
"tmaddrstatisticsrank"
:
//商标地区分布统计排名
opResult
=
await
this
.
tmquerySve
.
tmaddrstatisticsrank
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmaddrstatisticsrank
(
action_body
,
req
);
break
;
case
"tmcompanystatisticsrank"
:
//商标企业分布统计排名
opResult
=
await
this
.
tmquerySve
.
tmcompanystatisticsrank
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmcompanystatisticsrank
(
action_body
,
req
);
break
;
case
"tmnclstatisticsrank"
:
//商标类别申请排名
opResult
=
await
this
.
tmquerySve
.
tmnclstatisticsrank
(
pobj
,
req
);
opResult
=
await
this
.
tmquerySve
.
tmnclstatisticsrank
(
action_body
,
req
);
break
;
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
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
...
...
center-channel/app/base/service/impl/trademark/tmquerySve.js
View file @
3272f1cb
...
...
@@ -110,6 +110,18 @@ class TmqueryService {
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
)
{
if
(
!
queryobj
.
type
)
{
return
{
code
:
-
102
,
msg
:
"参数错误"
}
...
...
center-channel/app/front/entry/public/apidoc/opTrademark/tmSearch.md
View file @
3272f1cb
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