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
10be319b
Commit
10be319b
authored
Jan 20, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
bd7a99dc
Hide whitespace changes
Inline
Side-by-side
Showing
43 changed files
with
27 additions
and
7290 deletions
+27
-7290
center-order/app/base/api/api.base.js
+11
-47
center-order/app/base/api/apidoc.base.js
+0
-130
center-order/app/base/api/doc.base.js
+0
-115
center-order/app/base/api/impl/action/enterpriseQuery.js
+0
-51
center-order/app/base/api/impl/action/licenseQuery.js
+0
-43
center-order/app/base/api/impl/action/opLog.js
+0
-17
center-order/app/base/api/impl/action/order.js
+7
-13
center-order/app/base/api/impl/action/patentQuery.js
+0
-52
center-order/app/base/api/impl/action/receiveData.js
+0
-57
center-order/app/base/api/impl/action/tmQuery.js
+0
-103
center-order/app/base/api/impl/action/tmTools.js
+0
-80
center-order/app/base/api/impl/action/tmTransaction.js
+0
-44
center-order/app/base/api/impl/action/tradetransfer.js
+2
-2
center-order/app/base/api/impl/auth/accessAuth.js
+0
-106
center-order/app/base/api/impl/payment/paymentApi.js
+0
-55
center-order/app/base/service/impl/enterprise/enterpriseSve.js
+0
-18
center-order/app/base/service/impl/licenses/licenseSve.js
+0
-18
center-order/app/base/service/impl/patent/patentycSve.js
+0
-16
center-order/app/base/service/impl/trademark/bigtmSve.js
+0
-14
center-order/app/base/service/impl/trademark/bytmmonitSve.js
+0
-16
center-order/app/base/service/impl/trademark/jdossSve.js
+0
-61
center-order/app/base/service/impl/trademark/tmquerySve.js
+0
-84
center-order/app/base/service/impl/trademark/toolSve.js
+0
-122
center-order/app/base/service/impl/utilsSve/utilsAuthSve.js
+0
-127
center-order/app/base/service/impl/utilsSve/utilsProductSve.js
+0
-48
center-order/app/config/routes/api-qr.js
+0
-17
center-order/app/config/routes/api.js
+7
-76
center-order/app/config/routes/doc.js
+0
-58
center-order/app/front/entry/apidoc.ejs
+0
-23
center-order/app/front/entry/public/apidoc/README.md
+0
-30
center-order/app/front/entry/public/apidoc/appDesc/demoDesc.md
+0
-80
center-order/app/front/entry/public/apidoc/appDesc/newDemoDesc.md
+0
-82
center-order/app/front/entry/public/apidoc/licensesDesc/license.md
+0
-389
center-order/app/front/entry/public/apidoc/opTrademark/opTm.md
+0
-1534
center-order/app/front/entry/public/apidoc/opTrademark/tmSearch.md
+0
-2767
center-order/app/front/entry/public/apidoc/patentDesc/patent.md
+0
-550
center-order/app/front/entry/public/apidoc/paymentDesc/payment.md
+0
-35
center-order/app/front/entry/public/apidoc/user/user.md
+0
-210
center-order/document/商标操作接口文档v1.docx
+0
-0
center-order/document/商标操作接口文档v2.docx
+0
-0
center-order/document/商标操作接口文档v4.docx
+0
-0
center-order/document/商标检索接口文档v1.docx
+0
-0
center-order/document/商标检索接口文档v2.docx
+0
-0
No files found.
center-order/app/base/api/api.base.js
View file @
10be319b
...
...
@@ -5,63 +5,29 @@ const uuidv4 = require('uuid/v4');
const
md5
=
require
(
"MD5"
);
class
APIBase
{
constructor
()
{
this
.
cacheManager
=
system
.
getObject
(
"db.common.cacheManager"
);
this
.
logCtl
=
system
.
getObject
(
"service.common.oplogSve"
);
this
.
toolSve
=
system
.
getObject
(
"service.trademark.toolSve"
);
this
.
exTime
=
6
*
3600
;
//缓存过期时间,6小时
this
.
exTime
=
2
*
3600
;
//缓存过期时间,2小时
}
getUUID
()
{
var
uuid
=
uuidv4
();
var
u
=
uuid
.
replace
(
/
\-
/g
,
""
);
return
u
;
}
/**
* 验证签名
* @param {*} params 要验证的参数
* @param {*} app_key 应用的校验key
*/
async
verifySign
(
params
,
app_key
)
{
if
(
!
params
)
{
return
system
.
getResult
(
null
,
"请求参数为空"
);
}
if
(
!
params
.
sign
)
{
return
system
.
getResult
(
null
,
"请求参数sign为空"
);
}
if
(
!
params
.
timestamp
)
{
return
system
.
getResult
(
null
,
"请求参数timestamp为空"
);
}
var
signArr
=
[];
var
keys
=
Object
.
keys
(
params
).
sort
();
if
(
keys
.
length
==
0
)
{
return
system
.
getResult
(
null
,
"请求参数信息为空"
);
}
for
(
let
k
=
0
;
k
<
keys
.
length
;
k
++
)
{
const
tKey
=
keys
[
k
];
if
(
tKey
!=
"sign"
&&
params
[
tKey
])
{
signArr
.
push
(
tKey
+
"="
+
params
[
tKey
]);
}
}
if
(
signArr
.
length
==
0
)
{
return
system
.
getResult
(
null
,
"请求参数组装签名参数信息为空"
);
}
var
resultSignStr
=
signArr
.
join
(
"&"
)
+
"&key="
+
app_key
;
var
resultTmpSign
=
md5
(
resultSignStr
).
toUpperCase
();
if
(
params
.
sign
!=
resultTmpSign
)
{
return
system
.
getResult
(
null
,
"签名验证失败"
);
async
checkAcck
(
gname
,
methodname
,
pobj
,
query
,
req
)
{
if
(
!
pobj
.
appInfo
)
{
return
system
.
getResult
(
null
,
"pobj.appInfo can not be empty !!"
);
}
return
system
.
getResultSuccess
();
}
//-----------------------新的模式------------------开始
async
doexecMethod
(
gname
,
methodname
,
pobj
,
query
,
req
)
{
async
doexec
(
gname
,
methodname
,
pobj
,
query
,
req
)
{
req
.
requestId
=
this
.
getUUID
();
try
{
// //验证accesskey或验签
//
var isPassResult = await this.checkAcck(gname, methodname, pobj, query, req);
//
if (isPassResult.status != 0) {
//
isPassResult.requestId = "";
//
return isPassResult;
//
}
var
isPassResult
=
await
this
.
checkAcck
(
gname
,
methodname
,
pobj
,
query
,
req
);
if
(
isPassResult
.
status
!=
0
)
{
isPassResult
.
requestId
=
""
;
return
isPassResult
;
}
var
rtn
=
await
this
[
methodname
](
pobj
,
query
,
req
);
this
.
logCtl
.
createDb
({
appid
:
req
.
app
.
id
,
...
...
@@ -74,7 +40,7 @@ class APIBase {
agent
:
req
.
uagent
,
opTitle
:
"api服务提供方appKey:"
+
settings
.
appKey
,
});
rtn
.
requestId
=
req
.
requestId
;
rtn
.
requestId
=
req
.
requestId
return
rtn
;
}
catch
(
e
)
{
console
.
log
(
e
.
stack
,
"api调用出现异常,请联系管理员.........."
)
...
...
@@ -104,7 +70,5 @@ class APIBase {
return
rtnerror
;
}
}
//-----------------------新的模式------------------结束
}
module
.
exports
=
APIBase
;
center-order/app/base/api/apidoc.base.js
deleted
100644 → 0
View file @
bd7a99dc
const
system
=
require
(
"../system"
);
const
settings
=
require
(
"../../config/settings"
);
const
DocBase
=
require
(
"./doc.base"
);
const
uuidv4
=
require
(
'uuid/v4'
);
const
md5
=
require
(
"MD5"
);
class
APIBase
extends
DocBase
{
constructor
()
{
super
();
this
.
cacheManager
=
system
.
getObject
(
"db.common.cacheManager"
);
this
.
logCtl
=
system
.
getObject
(
"service.common.oplogSve"
);
}
getUUID
()
{
var
uuid
=
uuidv4
();
var
u
=
uuid
.
replace
(
/
\-
/g
,
""
);
return
u
;
}
/**
* 验证签名
* @param {*} params 要验证的参数
* @param {*} app_key 应用的校验key
*/
async
verifySign
(
params
,
app_key
)
{
if
(
!
params
)
{
return
system
.
getResult
(
null
,
"请求参数为空"
);
}
if
(
!
params
.
sign
)
{
return
system
.
getResult
(
null
,
"请求参数sign为空"
);
}
if
(
!
params
.
times_tamp
)
{
return
system
.
getResult
(
null
,
"请求参数times_tamp为空"
);
}
var
signArr
=
[];
var
keys
=
Object
.
keys
(
params
).
sort
();
if
(
keys
.
length
==
0
)
{
return
system
.
getResult
(
null
,
"请求参数信息为空"
);
}
for
(
let
k
=
0
;
k
<
keys
.
length
;
k
++
)
{
const
tKey
=
keys
[
k
];
if
(
tKey
!=
"sign"
&&
params
[
tKey
])
{
signArr
.
push
(
tKey
+
"="
+
params
[
tKey
]);
}
}
if
(
signArr
.
length
==
0
)
{
return
system
.
getResult
(
null
,
"请求参数组装签名参数信息为空"
);
}
var
resultSignStr
=
signArr
.
join
(
"&"
)
+
"&key="
+
app_key
;
var
resultTmpSign
=
md5
(
resultSignStr
).
toUpperCase
();
if
(
params
.
sign
!=
resultTmpSign
)
{
return
system
.
getResult
(
null
,
"签名验证失败"
);
}
return
system
.
getResultSuccess
();
}
/**
* 白名单验证
* @param {*} gname 组名
* @param {*} methodname 方法名
*/
async
isCheckWhiteList
(
gname
,
methodname
)
{
var
fullname
=
gname
+
"."
+
methodname
;
var
lst
=
[
"test.testApi"
];
var
x
=
lst
.
indexOf
(
fullname
);
return
x
>=
0
;
}
async
checkAcck
(
gname
,
methodname
,
pobj
,
query
,
req
)
{
var
appInfo
=
null
;
var
result
=
system
.
getResultSuccess
();
var
ispass
=
await
this
.
isCheckWhiteList
(
gname
,
methodname
);
var
appkey
=
req
.
headers
[
"accesskey"
];
if
(
ispass
)
{
return
result
;
}
//在百名单里面
if
(
appkey
)
{
appInfo
=
await
this
.
cacheManager
[
"ApiAccessKeyCheckCache"
].
cache
(
appkey
,
{
status
:
true
},
3000
);
if
(
!
appInfo
||
!
appInfo
.
app
)
{
result
.
status
=
system
.
tokenFail
;
result
.
msg
=
"请求头accesskey失效,请重新获取"
;
}
}
//验证accesskey
else
{
result
.
status
=
-
1
;
result
.
msg
=
"请求头没有相关访问参数,请验证后在进行请求"
;
}
return
result
;
}
async
doexec
(
gname
,
methodname
,
pobj
,
query
,
req
)
{
var
requestid
=
this
.
getUUID
();
try
{
//验证accesskey或验签
// var isPassResult = await this.checkAcck(gname, methodname, pobj, query, req);
// if (isPassResult.status != 0) {
// isPassResult.requestid = "";
// return isPassResult;
// }
var
rtn
=
await
this
[
methodname
](
pobj
,
query
,
req
);
rtn
.
requestid
=
requestid
;
this
.
logCtl
.
createDb
({
appid
:
req
.
headers
[
"app_id"
]
||
""
,
appkey
:
req
.
headers
[
"accesskey"
]
||
""
,
requestId
:
requestid
,
op
:
req
.
classname
+
"/"
+
methodname
,
content
:
JSON
.
stringify
(
pobj
),
resultInfo
:
JSON
.
stringify
(
rtn
),
clientIp
:
req
.
clientIp
,
agent
:
req
.
uagent
,
opTitle
:
"api服务提供方appKey:"
+
settings
.
appKey
,
});
return
rtn
;
}
catch
(
e
)
{
console
.
log
(
e
.
stack
,
"api调用出现异常,请联系管理员.........."
)
this
.
logCtl
.
error
({
appid
:
req
.
headers
[
"app_id"
]
||
""
,
appkey
:
req
.
headers
[
"accesskey"
]
||
""
,
requestId
:
requestid
,
op
:
pobj
.
classname
+
"/"
+
methodname
,
content
:
e
.
stack
,
clientIp
:
pobj
.
clientIp
,
agent
:
req
.
uagent
,
optitle
:
"api调用出现异常,请联系管理员"
,
});
var
rtnerror
=
system
.
getResultFail
(
-
200
,
"出现异常,请联系管理员"
);
rtnerror
.
requestid
=
requestid
;
return
rtnerror
;
}
}
}
module
.
exports
=
APIBase
;
center-order/app/base/api/doc.base.js
deleted
100644 → 0
View file @
bd7a99dc
const
system
=
require
(
"../system"
);
const
uuidv4
=
require
(
'uuid/v4'
);
class
DocBase
{
constructor
(){
this
.
apiDoc
=
{
group
:
"逻辑分组"
,
groupDesc
:
""
,
name
:
""
,
desc
:
"请对当前类进行描述"
,
exam
:
"概要示例"
,
methods
:[]
};
this
.
initClassDoc
();
}
initClassDoc
(){
// this.descClass();
// this.descMethods();
}
descClass
(){
var
classDesc
=
this
.
classDesc
();
this
.
apiDoc
.
group
=
classDesc
.
groupName
;
this
.
apiDoc
.
groupDesc
=
classDesc
.
groupDesc
;
this
.
apiDoc
.
name
=
classDesc
.
name
;
this
.
apiDoc
.
desc
=
classDesc
.
desc
;
this
.
apiDoc
.
exam
=
this
.
examHtml
();
}
examHtml
(){
var
exam
=
this
.
exam
();
exam
=
exam
.
replace
(
/
\\
/g
,
"<br/>"
);
return
exam
;
}
exam
(){
throw
new
Error
(
"请在子类中定义类操作示例"
);
}
classDesc
(){
throw
new
Error
(
`
请重写classDesc对当前的类进行描述,返回如下数据结构
{
groupName:"auth",
groupDesc:"认证相关的包"
desc:"关于认证的类",
exam:"",
}
`
);
}
descMethods
(){
var
methoddescs
=
this
.
methodDescs
();
for
(
var
methoddesc
of
methoddescs
){
for
(
var
paramdesc
of
methoddesc
.
paramdescs
){
this
.
descMethod
(
methoddesc
.
methodDesc
,
methoddesc
.
methodName
,
paramdesc
.
paramDesc
,
paramdesc
.
paramName
,
paramdesc
.
paramType
,
paramdesc
.
defaultValue
,
methoddesc
.
rtnTypeDesc
,
methoddesc
.
rtnType
);
}
}
}
methodDescs
(){
throw
new
Error
(
`
请重写methodDescs对当前的类的所有方法进行描述,返回如下数据结构
[
{
methodDesc:"生成访问token",
methodName:"getAccessKey",
paramdescs:[
{
paramDesc:"访问appkey",
paramName:"appkey",
paramType:"string",
defaultValue:"x",
},
{
paramDesc:"访问secret",
paramName:"secret",
paramType:"string",
defaultValue:null,
}
],
rtnTypeDesc:"xxxx",
rtnType:"xxx"
}
]
`
);
}
descMethod
(
methodDesc
,
methodName
,
paramDesc
,
paramName
,
paramType
,
defaultValue
,
rtnTypeDesc
,
rtnType
){
var
mobj
=
this
.
apiDoc
.
methods
.
filter
((
m
)
=>
{
if
(
m
.
name
==
methodName
){
return
true
;
}
else
{
return
false
;
}
})[
0
];
var
param
=
{
pname
:
paramName
,
ptype
:
paramType
,
pdesc
:
paramDesc
,
pdefaultValue
:
defaultValue
,
};
if
(
mobj
!=
null
){
mobj
.
params
.
push
(
param
);
}
else
{
this
.
apiDoc
.
methods
.
push
(
{
methodDesc
:
methodDesc
?
methodDesc
:
""
,
name
:
methodName
,
params
:[
param
],
rtnTypeDesc
:
rtnTypeDesc
,
rtnType
:
rtnType
}
);
}
}
}
module
.
exports
=
DocBase
;
\ No newline at end of file
center-order/app/base/api/impl/action/enterpriseQuery.js
deleted
100644 → 0
View file @
bd7a99dc
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
class
EnterpriseQueryAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
enterSve
=
system
.
getObject
(
"service.enterprise.enterpriseSve"
);
}
/**
* 接口跳转-POST请求
* action_type 执行的类型
* action_body 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
}
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
req
);
return
result
;
}
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
var
opResult
=
null
;
switch
(
action_type
)
{
case
"test"
:
//测试
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
break
;
case
"gxCountByAuthor"
:
//获取企业高薪信息数量
case
"gxListByAuthor"
:
//获取企业高薪信息列表
case
"gameCountByAuthor"
:
//获取企业游戏出版及运营数量
case
"gameListByAuthor"
:
//获取企业游戏出版及运营信息列表
case
"licenseCountByAuthor"
:
//获取企业证照信息数量
case
"licenseListByAuthor"
:
//获取企业证照信息列表
case
"ipCountByAuthor"
:
//获取企业域名信息数量
case
"ipListByAuthor"
:
//获取企业域名信息列表
case
"getQccBranches"
:
//获取企业的分支机构(从企查查获取)
case
"getcountAll"
:
//获取企业所有证照数量
opResult
=
await
this
.
enterSve
.
opReqResult
(
pobj
,
req
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
return
opResult
;
}
}
module
.
exports
=
EnterpriseQueryAPI
;
\ No newline at end of file
center-order/app/base/api/impl/action/licenseQuery.js
deleted
100644 → 0
View file @
bd7a99dc
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
class
LicenseQueryAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
liecseSve
=
system
.
getObject
(
"service.licenses.licenseSve"
);
}
/**
* 接口跳转-POST请求
* action_type 执行的类型
* action_body 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
}
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
req
);
return
result
;
}
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
var
opResult
=
null
;
switch
(
action_type
)
{
case
"test"
:
//测试
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
break
;
case
"getLicenses"
:
//根据公司得到推荐要办的证书
//opResult = await this.liecseSve.getLicenses(action_body);
opResult
=
await
this
.
liecseSve
.
opReqResult
(
pobj
,
req
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
return
opResult
;
}
}
module
.
exports
=
LicenseQueryAPI
;
\ No newline at end of file
center-order/app/base/api/impl/action/opLog.js
deleted
100644 → 0
View file @
bd7a99dc
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
const
logCtl
=
system
.
getObject
(
"service.common.oplogSve"
);
class
opLog
extends
APIBase
{
constructor
()
{
super
();
}
async
info
(
pobj
,
qobj
,
req
)
{
this
.
logCtl
.
info
(
pobj
);
}
async
error
(
pobj
,
qobj
,
req
)
{
this
.
logCtl
.
error
(
pobj
);
}
}
module
.
exports
=
opLog
;
\ No newline at end of file
center-order/app/base/api/impl/action/
tmO
rder.js
→
center-order/app/base/api/impl/action/
o
rder.js
View file @
10be319b
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
class
Tm
OrderAPI
extends
APIBase
{
class
OrderAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
utilsProductSve
=
system
.
getObject
(
"service.utilsSve.utilsProductSve"
);
...
...
@@ -13,8 +13,8 @@ class TmOrderAPI extends APIBase {
* action_body 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空
"
);
if
(
!
pobj
.
userInfo
)
{
return
system
.
getResult
(
system
.
noLogin
,
"user no login!
"
);
}
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
...
...
@@ -24,14 +24,8 @@ class TmOrderAPI extends APIBase {
}
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
var
opResult
=
null
;
switch
(
action_type
)
{
case
"getCAProductDetail"
:
//根据渠道产品码获取产品详情 ---应用中心
opResult
=
await
this
.
utilsProductSve
.
getProductDetailByCode
(
pobj
,
pobj
.
actionBody
);
break
;
case
"getCAProductListByTypeOneCode"
:
//获取产品列表(根据产品一类编码获取) ---应用中心
opResult
=
await
this
.
utilsProductSve
.
findByTypeOneCode
(
pobj
,
pobj
.
actionBody
);
break
;
case
"getCAProductListByTypeCode"
:
//获取产品列表(根据父类产品编码获取) ---应用中心
switch
(
action_type
)
{
case
"getCAProductListByTypeCode"
:
//创建订单
opResult
=
await
this
.
utilsProductSve
.
findByTypeCode
(
pobj
,
pobj
.
actionBody
);
break
;
default
:
...
...
@@ -42,4 +36,4 @@ class TmOrderAPI extends APIBase {
}
}
module
.
exports
=
TmOrderAPI
;
\ No newline at end of file
module
.
exports
=
OrderAPI
;
\ No newline at end of file
center-order/app/base/api/impl/action/patentQuery.js
deleted
100644 → 0
View file @
bd7a99dc
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
class
PatentQueryAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
patentSve
=
system
.
getObject
(
"service.patent.patentycSve"
);
}
/**
* 接口跳转-POST请求
* action_type 执行的类型
* action_body 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
}
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
req
);
return
result
;
}
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
var
opResult
=
null
;
switch
(
action_type
)
{
case
"test"
:
//测试
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
break
;
case
"CommomSearchbyApplicant"
:
//根据申请人查询聚合
case
"paCountByApplicantName"
:
//根据申请人获取专利量
case
"paShortListByApplicantName"
:
//根据申请人获取专利详情列表
case
"paDetailsBypubNo"
:
//根据公开或授权号获取专利详情列表
case
"paDetailsByfilingNo"
:
//根据申请号获取专利详情列表
case
"softwareCountByAuthor"
:
//根据公司名称得到软著量
case
"softwareListByAuthor"
:
//根据公司名称得到软著详情
case
"softwareDetailsByregNum"
:
//根据登记号获取软著详情
case
"worksCountByAuthor"
:
//根据公司名称得到著作权量
case
"worksListByAuthor"
:
//根据公司名称得到著作权详情
case
"worksDetailsByregNum"
:
//根据登记号获取著作权详情
opResult
=
await
this
.
patentSve
.
opReqResult
(
pobj
,
req
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
return
opResult
;
}
}
module
.
exports
=
PatentQueryAPI
;
\ No newline at end of file
center-order/app/base/api/impl/action/receiveData.js
deleted
100644 → 0
View file @
bd7a99dc
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
/**
* 接收远程推送的商标数据api
*/
class
ReceiveDataAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
ordertmproductSve
=
system
.
getObject
(
"service.dborder.ordertmproductSve"
);
this
.
customerinfoSve
=
system
.
getObject
(
"service.dborder.customerinfoSve"
);
this
.
customercontactsSve
=
system
.
getObject
(
"service.dborder.customercontactsSve"
);
this
.
trademarkSve
=
system
.
getObject
(
"service.dbtrademark.trademarkSve"
);
this
.
zcApiUrl
=
settings
.
reqZcApi
();
this
.
pushFqbossDataUrl
=
settings
.
pushFqbossDataUrl
();
this
.
pushlogSve
=
system
.
getObject
(
"service.common.pushlogSve"
);
}
/**
* 接口跳转-POST请求
* action_process 执行的流程
* action_type 执行的类型
* action_body 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
}
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
pobj
,
req
);
return
result
;
}
async
opActionProcess
(
action_process
,
action_type
,
action_body
,
pobj
,
req
)
{
// var logParam = {
// appid: req.app.id,
// appkey: req.app.uappKey,
// requestId: req.requestId || "",
// op: "/igirl-channel/zhichan/igirl-channel/app/base/api/impl/action/receiveData.js/opActionProcess",
// content: "参数信息:" + JSON.stringify(action_body),
// clientIp: pobj.clientIp,
// optitle: "接收推送过来的数据处理=>action_type=" + action_type,
// };
var
opResult
=
null
;
switch
(
action_type
)
{
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
logParam
.
resultInfo
=
JSON
.
stringify
(
opResult
);
this
.
logCtl
.
info
(
logParam
);
return
opResult
;
}
}
module
.
exports
=
ReceiveDataAPI
;
\ No newline at end of file
center-order/app/base/api/impl/action/tmQuery.js
deleted
100644 → 0
View file @
bd7a99dc
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
class
TmQueryAPI
extends
APIBase
{
constructor
()
{
super
();
// this.tmqueryApi = system.getObject("api.trademark.tmqueryApi");
this
.
tmquerySve
=
system
.
getObject
(
"service.trademark.tmquerySve"
);
// this.toolApi = system.getObject("api.tool.toolApi");
this
.
toolSve
=
system
.
getObject
(
"service.trademark.toolSve"
);
}
/**
* 接口跳转-POST请求
* action_process 执行的流程
* action_type 执行的类型
* action_body 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
}
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
req
);
return
result
;
}
async
opActionProcess
(
action_process
,
action_type
,
action_body
,
req
)
{
var
opResult
=
null
;
switch
(
action_type
)
{
case
"test"
:
//测试
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
break
;
case
"findTrademarkNameAccurate"
:
//商标精确检索(相同商标检索)
opResult
=
await
this
.
tmquerySve
.
findTrademarkNameAccurate
(
action_body
,
req
);
break
;
case
"findTrademarkName"
:
//近似商标检索
opResult
=
await
this
.
tmquerySve
.
findTrademarkName
(
action_body
,
req
);
break
;
case
"findTrademarkzchAccurate"
:
//商标申请号检索
opResult
=
await
this
.
tmquerySve
.
findTrademarkzchAccurate
(
action_body
,
req
);
break
;
case
"findTrademarkzcr"
:
//申请人查询
opResult
=
await
this
.
tmquerySve
.
findTrademarkzcr
(
action_body
,
req
);
break
;
case
"getCropperPic"
:
//获取检索图片url
opResult
=
await
this
.
toolSve
.
getCropperPic
(
action_body
,
req
);
break
;
case
"imagequery"
:
//图形检索
opResult
=
await
this
.
tmquerySve
.
imagequery
(
action_body
,
req
);
break
;
case
"findImageSearch"
:
//图形检索查询
opResult
=
await
this
.
tmquerySve
.
findImageSearch
(
action_body
,
req
);
break
;
case
"tradeMarkDetail"
:
//商标详情查询
opResult
=
await
this
.
tmquerySve
.
tradeMarkDetail
(
action_body
,
req
);
break
;
case
"sbzuixinsearch"
:
//最新商标查询
opResult
=
await
this
.
tmquerySve
.
sbzuixinsearch
(
action_body
,
req
);
break
;
case
"noticequeryTMZCSQ"
:
//近12期初审公告查询接口
opResult
=
await
this
.
tmquerySve
.
noticequeryTMZCSQ
(
action_body
,
req
);
break
;
case
"noticequery"
:
//公告列表检索接口
opResult
=
await
this
.
tmquerySve
.
noticequery
(
action_body
,
req
);
break
;
case
"noticezcggsearch"
:
//注册公告详情查询
opResult
=
await
this
.
tmquerySve
.
noticezcggsearch
(
action_body
,
req
);
break
;
case
"noticesearch"
:
//初审公告详情查询
opResult
=
await
this
.
tmquerySve
.
noticesearch
(
action_body
,
req
);
break
;
case
"getCompanyInfoNoUser"
:
//企业查询
opResult
=
await
this
.
tmquerySve
.
getCompanyInfoNoUser
(
action_body
,
req
);
break
;
case
"getNclDetail"
:
//尼斯详情
opResult
=
await
this
.
tmquerySve
.
getNclDetail
(
action_body
,
req
);
break
;
case
"gettwoNcl"
:
//获取尼斯群组
opResult
=
await
this
.
tmquerySve
.
gettwoNcl
(
action_body
,
req
);
break
;
case
"nclFuwuSearch"
:
//尼斯分类检索
opResult
=
await
this
.
tmquerySve
.
nclFuwuSearch
(
action_body
,
req
);
break
;
case
"bycznfx"
:
//商标智能分析 -----
opResult
=
await
this
.
toolSve
.
bycznfx
(
action_body
,
req
);
break
;
case
"tmConfirm"
:
//商标方案确认
// opResult = await this.toolApi.bycznfx(action_body);
opResult
=
system
.
getResultSuccess
(
null
,
"商标方案确认成功"
);
break
;
case
"icheming"
:
//商标智能分析 -----
opResult
=
await
this
.
toolSve
.
icheming
(
action_body
,
req
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
return
opResult
;
}
}
module
.
exports
=
TmQueryAPI
;
\ No newline at end of file
center-order/app/base/api/impl/action/tmTools.js
deleted
100644 → 0
View file @
bd7a99dc
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
class
TmToolsAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
toolSve
=
system
.
getObject
(
"service.trademark.toolSve"
);
}
/**
* 接口跳转-POST请求
* action_process 执行的流程
* action_type 执行的类型
* action_body 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
}
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
req
);
return
result
;
}
async
opActionProcess
(
action_process
,
action_type
,
action_body
,
req
)
{
var
opResult
=
null
;
switch
(
action_type
)
{
// sy
case
"test"
:
//测试
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
break
;
case
"encryptStr"
:
//
opResult
=
await
this
.
toolSve
.
encryptStr
(
req
.
app
,
action_body
.
opStr
);
break
;
case
"decryptStr"
:
//
opResult
=
await
this
.
toolSve
.
decryptStr
(
req
.
app
,
action_body
.
opStr
);
break
;
case
"getOssConfig"
:
//
opResult
=
await
this
.
toolSve
.
getOssConfig
();
break
;
case
"getNcl"
:
//尼斯查询(一)
opResult
=
await
this
.
toolSve
.
getNcl
(
action_body
,
req
);
break
;
case
"getNclByLikeNameAndNcl"
:
//尼斯查询(二)
opResult
=
await
this
.
toolSve
.
getNclByLikeNameAndNcl
(
action_body
,
req
);
break
;
case
"word2pic"
:
//文字转图片
opResult
=
await
this
.
toolSve
.
word2pic
(
action_body
,
req
);
break
;
case
"uploadStandardTm"
:
//商标样式转换
opResult
=
await
this
.
toolSve
.
uploadStandardTm
(
action_body
,
req
);
break
;
case
"pic2pdf"
:
//图片转pdf
opResult
=
await
this
.
toolSve
.
pic2pdf
(
action_body
,
req
);
break
;
case
"getCompanyInfoByLikeName"
:
//企业近似查询
opResult
=
await
this
.
toolSve
.
getCompanyInfoByLikeName
(
action_body
,
req
);
break
;
case
"getEntregistryByCompanyName"
:
//企业精确查询
opResult
=
await
this
.
toolSve
.
getEntregistryByCompanyName
(
action_body
,
req
);
break
;
case
"adjustWTSSize"
:
//调整委托书
opResult
=
await
this
.
toolSve
.
adjustWTSSize
(
action_body
,
req
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
return
opResult
;
}
}
module
.
exports
=
TmToolsAPI
;
\ No newline at end of file
center-order/app/base/api/impl/action/tmTransaction.js
deleted
100644 → 0
View file @
bd7a99dc
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
class
TmTransactionAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
orderinfoSve
=
system
.
getObject
(
"service.dbcorder.orderinfoSve"
);
}
/**
* 接口跳转-POST请求
* actionProcess 执行的流程
* actionType 执行的类型
* actionBody 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
}
if
(
!
pobj
.
action_type
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
req
);
return
result
;
}
async
opActionProcess
(
action_process
,
action_type
,
action_body
,
req
)
{
var
opResult
=
null
;
switch
(
action_type
)
{
// sy
case
"test"
:
//测试
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
break
;
case
"addOrder"
:
//添加订单
opResult
=
await
this
.
orderinfoSve
.
createOrder
(
action_body
,
req
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
return
opResult
;
}
}
module
.
exports
=
TmTransactionAPI
;
\ No newline at end of file
center-order/app/base/api/impl/action/tradetransfer.js
View file @
10be319b
...
...
@@ -8,14 +8,14 @@ class TradetransferAPI extends APIBase {
this
.
aliclient
=
system
.
getObject
(
"util.aliyunClient"
);
this
.
execlient
=
system
.
getObject
(
"util.execClient"
);
this
.
transferurl
=
settings
.
reqTransferurl
();
this
.
corder
Sve
=
system
.
getObject
(
"service.dbcorder.orderinfoSve"
);
this
.
orderinfo
Sve
=
system
.
getObject
(
"service.dbcorder.orderinfoSve"
);
}
//订单创建
async
createtransfer
(
p
,
obj
,
req
)
{
console
.
log
(
p
.
actionBody
,
"actionBody..............................."
);
var
orderinfo
=
await
this
.
corder
Sve
.
createOrder
(
p
.
actionBody
,
req
);
var
orderinfo
=
await
this
.
orderinfo
Sve
.
createOrder
(
p
.
actionBody
,
req
);
console
.
log
(
orderinfo
,
"orderinfo............................"
);
if
(
orderinfo
)
{
if
(
orderinfo
.
status
==
"0"
)
{
...
...
center-order/app/base/api/impl/auth/accessAuth.js
deleted
100644 → 0
View file @
bd7a99dc
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
class
AccessAuthAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
utilsAuthSve
=
system
.
getObject
(
"service.utilsSve.utilsAuthSve"
);
}
/**
* 接口跳转-POST请求
* action_process 执行的流程
* action_type 执行的类型
* action_body 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
}
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
req
);
return
result
;
}
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
var
opResult
=
system
.
getResult
(
null
,
"req Failure"
);
pobj
.
actionBody
.
userpin
=
pobj
.
actionBody
.
userpin
||
this
.
getUUID
();
switch
(
action_type
)
{
// sy
case
"test"
:
//测试
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
break
;
case
"getVerifyCode"
:
opResult
=
await
this
.
utilsAuthSve
.
getVerifyCodeByMoblie
(
pobj
,
pobj
.
actionBody
);
if
(
opResult
.
status
==
0
)
{
return
system
.
getResultSuccess
()
}
break
;
case
"loginUserByChannelUserId"
:
opResult
=
await
this
.
utilsAuthSve
.
loginUserByChannelUserId
(
pobj
,
pobj
.
actionBody
);
if
(
opResult
.
status
==
0
)
{
return
system
.
getResultSuccess
({
userpin
:
pobj
.
actionBody
.
userpin
})
}
break
;
case
"userPinByLgoin"
:
opResult
=
await
this
.
utilsAuthSve
.
getReqUserPinByLgoin
(
pobj
,
pobj
.
actionBody
);
if
(
opResult
.
status
==
0
)
{
return
system
.
getResultSuccess
({
userpin
:
pobj
.
actionBody
.
userpin
})
}
break
;
case
"userPinByLgoinVcode"
:
pobj
.
actionBody
.
reqType
=
"login"
;
opResult
=
await
this
.
utilsAuthSve
.
getReqUserPinByLgoinVcode
(
pobj
,
pobj
.
actionBody
);
if
(
opResult
.
status
==
0
)
{
return
system
.
getResultSuccess
({
userpin
:
pobj
.
actionBody
.
userpin
})
}
break
;
case
"userPinByRegister"
:
pobj
.
actionBody
.
reqType
=
"reg"
;
opResult
=
await
this
.
utilsAuthSve
.
getReqUserPinByLgoinVcode
(
pobj
,
pobj
.
actionBody
);
if
(
opResult
.
status
==
0
)
{
return
system
.
getResultSuccess
({
userpin
:
pobj
.
actionBody
.
userpin
})
}
break
;
case
"logout"
:
opResult
=
await
this
.
utilsAuthSve
.
userLogout
(
pobj
,
pobj
.
actionBody
);
break
;
case
"putUserPwdByMobile"
:
opResult
=
await
this
.
utilsAuthSve
.
putUserPwdByMobile
(
pobj
,
pobj
.
actionBody
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
return
opResult
;
}
/**
* 接口跳转-POST请求
* action_process 执行的流程
*/
async
getAppTokenByHosts
(
pobj
,
qobj
,
req
)
{
var
token
=
this
.
getUUID
();
pobj
.
actionBody
.
reqType
=
"hosts"
;
var
opResult
=
await
this
.
utilsAuthSve
.
getReqTokenByHosts
(
pobj
.
actionBody
,
token
);
if
(
opResult
.
status
!=
0
)
{
return
opResult
;
}
return
system
.
getResultSuccess
({
token
:
token
})
}
/**
* 接口跳转-POST请求
* action_process 执行的流程
*/
async
getAppTokenByAppKey
(
pobj
,
qobj
,
req
)
{
var
token
=
this
.
getUUID
();
pobj
.
actionBody
.
reqType
=
"appkey"
;
var
opResult
=
await
this
.
utilsAuthSve
.
getReqTokenByHosts
(
pobj
.
actionBody
,
token
);
if
(
opResult
.
status
!=
0
)
{
return
opResult
;
}
return
system
.
getResultSuccess
({
token
:
token
})
}
}
module
.
exports
=
AccessAuthAPI
;
\ No newline at end of file
center-order/app/base/api/impl/payment/paymentApi.js
deleted
100644 → 0
View file @
bd7a99dc
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
class
PaymentAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
execlient
=
system
.
getObject
(
"util.execClient"
);
this
.
centerAppUrl
=
settings
.
centerAppUrl
();
}
/**
* 接口跳转-POST请求
* actionProcess 执行的流程
* actionType 执行的类型
* actionBody 执行的参数
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
}
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
pobj
.
actionBody
,
req
);
return
result
;
}
async
opActionProcess
(
pobj
,
action_type
,
action_body
,
req
)
{
var
opResult
=
null
;
var
url
=
""
;
switch
(
action_type
)
{
// sy
case
"getQrCode"
:
//pc端订单支付二维码生成
url
=
this
.
centerAppUrl
+
"payment/paymentApi/getQrCode"
;
break
;
case
"queryOrder"
:
//通联支付查询
url
=
this
.
centerAppUrl
+
"payment/paymentApi/queryOrder"
;
break
;
case
"receiveCallBackNotify"
:
//通联支付查询
url
=
this
.
centerAppUrl
+
"payment/paymentApi/receiveCallBackNotify"
;
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
}
if
(
url
)
{
opResult
=
system
.
getResultSuccess
(
null
,
"action_type参数错误"
);
}
var
opResultstr
=
await
this
.
execlient
.
execPost
(
pobj
,
url
);
opResult
=
JSON
.
parse
(
opResultstr
.
stdout
)
return
opResult
;
}
}
module
.
exports
=
PaymentAPI
;
\ No newline at end of file
center-order/app/base/service/impl/enterprise/enterpriseSve.js
deleted
100644 → 0
View file @
bd7a99dc
const
System
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
querystring
=
require
(
'querystring'
);
const
AppServiceBase
=
require
(
"../../app.base"
);
class
EnterpriseService
extends
AppServiceBase
{
constructor
()
{
super
();
this
.
zcApiUrl
=
settings
.
reqZcApi
();
};
async
opReqResult
(
pobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"action/enterpriseQuery/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
return
result
;
};
}
module
.
exports
=
EnterpriseService
;
\ No newline at end of file
center-order/app/base/service/impl/licenses/licenseSve.js
deleted
100644 → 0
View file @
bd7a99dc
const
System
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
querystring
=
require
(
'querystring'
);
const
AppServiceBase
=
require
(
"../../app.base"
);
class
LicenseService
extends
AppServiceBase
{
constructor
()
{
super
();
this
.
zcApiUrl
=
settings
.
reqZcApi
();
};
async
opReqResult
(
pobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"action/licenseQuery/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
return
result
;
};
}
module
.
exports
=
LicenseService
;
\ No newline at end of file
center-order/app/base/service/impl/patent/patentycSve.js
deleted
100644 → 0
View file @
bd7a99dc
const
System
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
querystring
=
require
(
'querystring'
);
const
AppServiceBase
=
require
(
"../../app.base"
);
class
PatentycService
extends
AppServiceBase
{
constructor
()
{
super
();
this
.
zcApiUrl
=
settings
.
reqZcApi
();
};
async
opReqResult
(
pobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"action/patentQuery/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
return
result
;
}
}
module
.
exports
=
PatentycService
;
center-order/app/base/service/impl/trademark/bigtmSve.js
deleted
100644 → 0
View file @
bd7a99dc
const
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
class
bigtmService
{
constructor
(){
this
.
GsbByTmSearchApi
=
system
.
getObject
(
"api.tmquery.bytmsearch"
);
}
}
module
.
exports
=
bigtmService
;
// var test = new TmqueryService();
// test.bigtmcompanyjuhe({status:3,tmreg_year:2018,seltype:1,apply_addr_province:""}).then(function(d){
// console.log("#################################");
// console.log(d);
// })
center-order/app/base/service/impl/trademark/bytmmonitSve.js
deleted
100644 → 0
View file @
bd7a99dc
const
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
class
BytmmonitService
{
constructor
(){
}
}
module
.
exports
=
BytmmonitService
;
// var test = new TmqueryService();
// test.bigtmcount({tmreg_year:2018,apply_addr_province:""}).then(function(d){
// console.log("#################################");
// console.log(d);
// })
center-order/app/base/service/impl/trademark/jdossSve.js
deleted
100644 → 0
View file @
bd7a99dc
const
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
crypto
=
require
(
'crypto'
);
const
cryptoJS
=
require
(
"crypto-js"
);
var
fs
=
require
(
"fs"
);
// var AWS = require('aws-sdk');
var
ak
=
"D0784B08541791E175B544D5317281B0"
;
var
sk
=
"93AB12B3BFADB1356EC078D52B064A33"
;
var
ossurl
=
"https://hangtang.s3.cn-north-1.jdcloud-oss.com"
;
class
JdossService
{
constructor
()
{
this
.
execClient
=
system
.
getObject
(
"util.execClient"
);
}
async
getJdOssConfig
(
app
,
opStr
)
{
var
date
=
new
Date
();
var
month
=
date
.
getMonth
()
+
1
;
month
=
month
.
toString
();
if
(
month
<
10
){
month
=
"0"
+
month
;
}
var
day
=
date
.
getDate
().
toString
();
if
(
day
<
10
){
day
=
"0"
+
day
;
}
var
time
=
date
.
getFullYear
().
toString
()
+
month
+
day
;
let
timestamp
=
date
.
getTime
();
//当前的时间戳
timestamp
=
timestamp
+
6
*
60
*
60
*
1000
;
//格式化时间获取年月日
var
dateAfter
=
new
Date
(
timestamp
);
var
policyText
=
{
"expiration"
:
dateAfter
,
"conditions"
:
[
{
"bucket"
:
"hangtang"
},
[
"starts-with"
,
"$key"
,
"zc"
],
{
"Content-Type"
:
"image/jpeg"
},
{
"X-Amz-Credential"
:
ak
+
"/"
+
time
+
"/cn-north-1/s3/aws4_request"
},
{
"X-Amz-Algorithm"
:
"AWS4-HMAC-SHA256"
},
{
"X-Amz-Date"
:
date
}
]
};
var
b
=
new
Buffer
(
JSON
.
stringify
(
policyText
));
var
policyBase64
=
b
.
toString
(
'base64'
);
var
signature
=
crypto
.
createHmac
(
'sha256'
,
sk
).
update
(
policyBase64
).
digest
(
"hex"
);
var
data
=
{
"OSSAccessKeyId"
:
ak
,
"Bucket"
:
"hangtang"
,
"Signature"
:
signature
,
"policy"
:
policyBase64
,
"success_action_status"
:
201
,
"x-amz-algorithm"
:
"AWS4-HMAC-SHA256"
,
"x-amz-credential"
:
ak
+
"/"
+
time
+
"/cn-north-1/s3/aws4_request"
,
"x-amz-date"
:
date
,
"x-amz-signature"
:
signature
,
"url"
:
ossurl
};
return
system
.
getResultSuccess
(
data
);
}
}
module
.
exports
=
JdossService
;
center-order/app/base/service/impl/trademark/tmquerySve.js
deleted
100644 → 0
View file @
bd7a99dc
const
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
class
TmqueryService
{
constructor
()
{
this
.
zcApiUrl
=
settings
.
reqZcApi
();
this
.
execClient
=
system
.
getObject
(
"util.execClient"
);
}
async
findTrademarkNameAccurate
(
queryobj
,
req
)
{
//通过商标名来进行精准查询
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/findTrademarkNameAccurate"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
findTrademarkNameIndex
(
queryobj
,
req
)
{
//根据商标名称模糊查询,首次查询,
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/findTrademarkNameIndex"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
findTrademarkName
(
queryobj
,
req
)
{
//根据商标名称模糊查询
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/findTrademarkName"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
findTrademarkzchAccurate
(
queryobj
,
req
)
{
//通过商标号来进行精准查询
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/findTrademarkzchAccurate"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
findTrademarkzcr
(
queryobj
,
req
)
{
//通过注册人模糊查询
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/findTrademarkzcr"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
imagequery
(
queryobj
,
req
)
{
//图像检索
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/imagequery"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
findImageSearch
(
queryobj
,
req
)
{
//图像检索查询,
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/findImageSearch"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
tradeMarkDetail
(
queryobj
,
req
)
{
//商标详情
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/tradeMarkDetail"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
sbzuixinsearch
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/sbzuixinsearch"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
noticequeryTMZCSQ
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/noticequeryTMZCSQ"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
noticequery
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/noticequery"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
noticezcggsearch
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/noticezcggsearch"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
noticesearch
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/noticesearch"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
getCompanyInfoNoUser
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/getCompanyInfoNoUser"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
getNclDetail
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/getNclDetail"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
gettwoNcl
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/gettwoNcl"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
nclFuwuSearch
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/nclFuwuSearch"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
opReqResult
(
reqUrl
,
queryobj
,
req
)
{
var
rtn
=
await
this
.
execClient
.
execPushDataPost
(
queryobj
,
reqUrl
,
req
.
headers
[
"token"
],
req
.
headers
[
"request-id"
]);
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
return
data
;
}
}
module
.
exports
=
TmqueryService
;
center-order/app/base/service/impl/trademark/toolSve.js
deleted
100644 → 0
View file @
bd7a99dc
const
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
crypto
=
require
(
'crypto'
);
const
cryptoJS
=
require
(
"crypto-js"
);
var
fs
=
require
(
"fs"
);
var
accesskey
=
'DHmRtFlw2Zr3KaRwUFeiu7FWATnmla'
;
var
accessKeyId
=
'LTAIyAUK8AD04P5S'
;
var
url
=
"https://gsb-zc.oss-cn-beijing.aliyuncs.com"
;
class
ToolService
{
constructor
()
{
this
.
zcApiUrl
=
settings
.
reqZcApi
();
this
.
execClient
=
system
.
getObject
(
"util.execClient"
);
}
async
getCropperPic
(
obj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/getCropperPic"
;
return
await
this
.
opReqResult
(
url
,
obj
,
req
);
}
//智能分析 bycquerytm.html
async
bycznfx
(
obj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/bycznfx"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//根据尼斯编号获取尼斯子类,尼斯树节点点击时触发调用
async
getNcl
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/getNcl"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//根据大类、名称查询尼斯信息
async
getNclByLikeNameAndNcl
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/getNclByLikeNameAndNcl"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//文字转图片
async
word2pic
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/word2pic"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//商标样式转换 彩色商标图样转黑白,调整图样宽高,生成符合商标局规范的标准商标图样
async
uploadStandardTm
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/uploadStandardTm"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//营业执照(身份证明)图片文件转为符合商标局要求的pdf文件
async
pic2pdf
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/pic2pdf"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//企业近似查询
async
getCompanyInfoByLikeName
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/getCompanyInfoByLikeName"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//企业注册信息查询
async
getEntregistryByCompanyName
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/getEntregistryByCompanyName"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//调整委托书 调整委托书大小使其符合商标局规范
async
adjustWTSSize
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/adjustWTSSize"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
//工商核名
async
icheming
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/icheming"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
}
async
opReqResult
(
reqUrl
,
queryobj
,
req
)
{
var
rtn
=
await
this
.
execClient
.
execPushDataPost
(
queryobj
,
reqUrl
,
req
.
headers
[
"token"
],
req
.
headers
[
"request-id"
]);
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
return
data
;
}
async
getOssConfig
(
queryobj
,
req
)
{
var
policyText
=
{
"expiration"
:
"2119-12-31T16:00:00.000Z"
,
"conditions"
:
[
[
"content-length-range"
,
0
,
1048576000
],
[
"starts-with"
,
"$key"
,
"zc"
]
]
};
var
b
=
new
Buffer
(
JSON
.
stringify
(
policyText
));
var
policyBase64
=
b
.
toString
(
'base64'
);
var
signature
=
crypto
.
createHmac
(
'sha1'
,
accesskey
).
update
(
policyBase64
).
digest
().
toString
(
'base64'
);
//base64
var
data
=
{
OSSAccessKeyId
:
accessKeyId
,
policy
:
policyBase64
,
Signature
:
signature
,
Bucket
:
'gsb-zc'
,
success_action_status
:
201
,
url
:
url
};
return
system
.
getResultSuccess
(
data
);
};
//加密信息
async
encryptStr
(
app
,
opStr
)
{
if
(
!
opStr
)
{
return
system
.
getResult
(
null
,
"opStr is empty"
);
}
let
keyHex
=
cryptoJS
.
enc
.
Utf8
.
parse
(
app
.
uappKey
);
let
ivHex
=
cryptoJS
.
enc
.
Utf8
.
parse
(
app
.
appSecret
.
substring
(
0
,
8
));
var
cipherStr
=
cryptoJS
.
TripleDES
.
encrypt
(
opStr
,
keyHex
,
{
iv
:
ivHex
}).
toString
();
return
system
.
getResultSuccess
(
cipherStr
);
}
//解密信息
async
decryptStr
(
app
,
opStr
)
{
if
(
!
opStr
)
{
return
system
.
getResult
(
null
,
"opStr is empty"
);
}
let
keyHex
=
cryptoJS
.
enc
.
Utf8
.
parse
(
app
.
uappKey
);
let
ivHex
=
cryptoJS
.
enc
.
Utf8
.
parse
(
app
.
appSecret
.
substring
(
0
,
8
));
var
bytes
=
cryptoJS
.
TripleDES
.
decrypt
(
opStr
,
keyHex
,
{
iv
:
ivHex
});
var
plaintext
=
bytes
.
toString
(
cryptoJS
.
enc
.
Utf8
);
return
system
.
getResultSuccess
(
plaintext
);
}
}
module
.
exports
=
ToolService
;
center-order/app/base/service/impl/utilsSve/utilsAuthSve.js
deleted
100644 → 0
View file @
bd7a99dc
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
AppServiceBase
=
require
(
"../../app.base"
);
const
logCtl
=
system
.
getObject
(
"service.common.oplogSve"
);
//商标查询操作
class
UtilsAuthSve
extends
AppServiceBase
{
constructor
()
{
super
();
this
.
centerAppUrl
=
settings
.
centerAppUrl
();
}
async
loginUserByChannelUserId
(
pobj
,
actionBody
)
{
var
opResult
=
null
;
switch
(
pobj
.
actionProcess
)
{
case
"gsbhome"
:
opResult
=
await
this
.
getDefaultUserInfo
(
pobj
,
actionBody
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_process参数错误"
);
break
;
}
return
opResult
;
}
async
getDefaultUserInfo
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
channelUserId
)
{
return
system
.
getResult
(
null
,
"actionBody.channelUserId can not be empty"
);
}
var
result
=
await
this
.
cacheManager
[
"AppUserPinByChannelUserId"
].
cache
(
actionBody
.
userpin
,
pobj
,
system
.
exTime
);
return
result
;
}
//---------------登录-----------------------------------------------------
async
getReqTokenByHosts
(
actionBody
,
tokenValue
)
{
//获取token
if
([
"hosts"
,
"appkey"
].
indexOf
(
actionBody
.
reqType
)
<
0
)
{
return
system
.
getResult
(
null
,
"actionBody.reqType is error"
);
}
if
(
actionBody
.
reqType
==
"hosts"
)
{
if
(
!
actionBody
.
appHosts
)
{
return
system
.
getResult
(
null
,
"actionBody.appHosts can not be empty"
);
}
}
if
(
actionBody
.
reqType
==
"appkey"
)
{
if
(
!
actionBody
.
appkey
)
{
return
system
.
getResult
(
null
,
"actionBody.appkey can not be empty"
);
}
if
(
!
actionBody
.
secret
)
{
return
system
.
getResult
(
null
,
"actionBody.secret can not be empty"
);
}
}
var
result
=
await
this
.
cacheManager
[
"AppTokenByHostsCache"
].
cache
(
tokenValue
,
actionBody
,
system
.
exTime
);
return
result
;
}
async
getReqUserPinByLgoin
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
userName
)
{
return
system
.
getResult
(
null
,
"actionBody.userName can not be empty"
);
}
if
(
!
actionBody
.
password
)
{
return
system
.
getResult
(
null
,
"actionBody.password can not be empty"
);
}
var
result
=
await
this
.
cacheManager
[
"AppUserPinByLoginPwdCache"
].
cache
(
actionBody
.
userpin
,
pobj
,
system
.
exTime
);
return
result
;
}
async
getReqUserPinByLgoinVcode
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
mobile
)
{
return
system
.
getResult
(
null
,
"actionBody.mobile can not be empty"
);
}
if
(
!
actionBody
.
vcode
)
{
return
system
.
getResult
(
null
,
"actionBody.vcode can not be empty"
);
}
if
(
actionBody
.
reqType
==
"reg"
)
{
if
(
!
actionBody
.
password
)
{
return
system
.
getResult
(
null
,
"actionBody.password can not be empty"
);
}
}
var
result
=
await
this
.
cacheManager
[
"AppUserPinByLoginVcodeCache"
].
cache
(
actionBody
.
userpin
,
pobj
,
system
.
exTime
);
return
result
;
}
async
getVerifyCodeByMoblie
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
mobile
)
{
return
system
.
getResult
(
null
,
"actionBody.mobile can not be empty !"
);
}
return
await
this
.
restPostUrl
(
pobj
,
this
.
centerAppUrl
+
"auth/accessAuth/getVerifyCodeByMoblie"
);
}
async
putUserPwdByMobile
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
mobile
)
{
return
system
.
getResult
(
null
,
"pobj.mobile can not be empty !"
);
}
if
(
!
actionBody
.
vcode
)
{
return
system
.
getResult
(
null
,
"pobj.vcode can not be empty !"
);
}
if
(
!
actionBody
.
newPwd
)
{
return
system
.
getResult
(
null
,
"pobj.newPwd can not be empty !"
);
}
if
(
!
pobj
.
appInfo
)
{
return
system
.
getResult
(
null
,
"pobj.appInfo can not be empty !"
);
}
var
result
=
await
this
.
restPostUrl
(
pobj
,
this
.
centerAppUrl
+
"auth/accessAuth/modiPasswordByMobile"
);
if
(
result
.
status
==
0
&&
actionBody
.
userpin
)
{
this
.
userLogout
(
pobj
,
actionBody
);
}
return
result
;
}
async
userLogout
(
pobj
,
actionBody
)
{
console
.
log
(
actionBody
.
userpin
);
if
(
!
actionBody
.
userpin
)
{
return
system
.
getResult
(
null
,
"actionBody.userpin can not be empty !"
);
}
var
cacheManager
=
system
.
getObject
(
"db.common.cacheManager"
);
var
userinfo
=
await
this
.
cacheManager
[
"AppUserPinByLoginPwdCache"
].
cache
(
actionBody
.
userpin
,
pobj
,
system
.
exTime
);
if
(
userinfo
.
data
){
pobj
.
actionBody
.
userName
=
userinfo
.
data
.
channel_username
;
}
else
{
return
system
.
getResultSuccess
();
}
await
cacheManager
[
"AppUserPinByLoginVcodeCache"
].
invalidate
(
actionBody
.
userpin
);
await
cacheManager
[
"AppUserPinByLoginPwdCache"
].
invalidate
(
actionBody
.
userpin
);
var
applogout
=
await
this
.
restPostUrl
(
pobj
,
this
.
centerAppUrl
+
"auth/accessAuth/logout"
);
return
applogout
;
}
}
module
.
exports
=
UtilsAuthSve
;
center-order/app/base/service/impl/utilsSve/utilsProductSve.js
deleted
100644 → 0
View file @
bd7a99dc
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
AppServiceBase
=
require
(
"../../app.base"
);
//商标查询操作
class
UtilsProductSve
extends
AppServiceBase
{
constructor
()
{
super
();
}
//--------------------------------应用中心获取产品信息-start-----------------------------------------------------
/**
* 根据产品类型码获取产品列表
* @param {*} actionBody
*/
async
findByTypeCode
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
typeCode
)
{
return
system
.
getResult
(
null
,
"actionBody.typeCode can not be empty"
);
}
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
return
await
this
.
restPostUrl
(
pobj
,
url
);
}
/**
* 根据产品类型码获取产品列表
* @param {*} actionBody
*/
async
findByTypeOneCode
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
typeOneCode
)
{
return
system
.
getResult
(
null
,
"actionBody.typeOneCode can not be empty"
);
}
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
return
await
this
.
restPostUrl
(
pobj
,
url
);
}
/**
* 获取产品详情
* @param {*} obj
*/
async
getProductDetailByCode
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
channelItemCode
)
{
return
system
.
getResult
(
null
,
"actionBody.channelItemCode can not be empty"
);
}
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
return
await
this
.
restPostUrl
(
pobj
,
url
);
}
//--------------------------------应用中心获取产品信息--end----------------------------------------------------
}
module
.
exports
=
UtilsProductSve
;
center-order/app/config/routes/api-qr.js
deleted
100644 → 0
View file @
bd7a99dc
var
url
=
require
(
"url"
);
var
qr
=
require
(
"qr-image"
)
module
.
exports
=
function
(
app
)
{
app
.
get
(
'/api/qc'
,
function
(
req
,
res
){
var
params
=
url
.
parse
(
req
.
url
,
true
);
var
detailLink
=
params
.
query
.
detailLink
;
try
{
var
img
=
qr
.
image
(
detailLink
,{
size
:
10
});
console
.
log
(
detailLink
)
res
.
writeHead
(
200
,
{
'Content-Type'
:
'image/png'
});
img
.
pipe
(
res
);
}
catch
(
e
)
{
res
.
writeHead
(
414
,
{
'Content-Type'
:
'text/html'
});
res
.
end
(
'<h1>414 Request-URI Too Large</h1>'
);
}
});
};
center-order/app/config/routes/api.js
View file @
10be319b
var
url
=
require
(
"url"
);
var
system
=
require
(
"../../base/system"
);
// var userSve = system.getObject("service.auth.userSve");
module
.
exports
=
function
(
app
)
{
//-----------------------新的模式------------------开始
app
.
all
(
"/web/*"
,
async
function
(
req
,
res
,
next
)
{
var
result
=
system
.
getResult
(
null
,
"req method must is post"
);
if
(
req
.
method
!=
"POST"
)
{
res
.
end
(
JSON
.
stringify
(
result
));
return
;
}
if
(
!
req
.
body
.
actionType
)
{
result
.
msg
=
"actionType can not be empty"
;
res
.
end
(
JSON
.
stringify
(
result
));
return
;
}
if
([
"getAppTokenByHosts"
,
"getAppTokenByAppKey"
].
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
req
.
body
.
actionBody
.
appHosts
=
req
.
host
;
next
();
return
;
}
if
(
req
.
body
.
actionType
==
"receiveCallBackNotify"
)
{
req
.
body
.
actionBody
.
app_hosts
=
req
.
host
;
next
();
return
;
}
var
token
=
req
.
headers
[
"token"
]
||
""
;
if
(
!
token
)
{
result
.
msg
=
"req headers token can not be empty"
;
res
.
end
(
JSON
.
stringify
(
result
));
return
;
}
var
cacheManager
=
system
.
getObject
(
"db.common.cacheManager"
);
var
result
=
await
cacheManager
[
"AppTokenByHostsCache"
].
getCache
(
token
,
system
.
exTime
);
if
(
result
.
status
!=
0
)
{
res
.
end
(
JSON
.
stringify
(
result
));
return
result
;
}
req
.
body
.
appInfo
=
result
.
data
;
req
.
body
.
actionProcess
=
result
.
data
.
app_code
;
var
lst
=
[
"subTmOrder"
,
"getTmOrderList"
,
"getTmOrderInfo"
,
"getTmApplyInfo"
,
"getTmNclList"
,
"getNeedInfo"
,
"tmConfirm"
,
"updateTmInfo"
,
"updateNclInfo"
,
"updateContacts"
,
"updateCustomerInfo"
,
"addOrderAndDelivery"
,
"updateOrderPayStatus"
];
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
var
userpin
=
req
.
headers
[
"userpin"
]
||
""
;
if
(
!
userpin
)
{
result
.
status
=
system
.
noLogin
;
result
.
msg
=
"req headers userpin can not be empty"
;
res
.
end
(
JSON
.
stringify
(
result
));
return
;
}
else
{
var
result
=
await
cacheManager
[
"AppUserPinByChannelUserId"
].
getCache
(
userpin
,
system
.
exTime
);
if
(
result
.
status
!=
0
)
{
result
.
status
=
system
.
noLogin
;
result
.
msg
=
"user login is invalidation"
;
res
.
end
(
JSON
.
stringify
(
result
));
return
result
;
}
req
.
body
.
userInfo
=
result
.
data
;
}
}
//需要用户登录
next
();
});
app
.
get
(
'/web/:gname/:qname/:method'
,
function
(
req
,
res
)
{
app
.
get
(
'/:gname/:qname/:method'
,
function
(
req
,
res
)
{
var
classPath
=
req
.
params
[
"qname"
];
var
methodName
=
req
.
params
[
"method"
];
var
gname
=
req
.
params
[
"gname"
];
classPath
=
gname
+
"."
+
classPath
;
var
tClientIp
=
system
.
get_client_ip
(
req
);
req
.
clientIp
=
tClientIp
;
...
...
@@ -87,14 +20,14 @@ module.exports = function (app) {
params
.
push
(
req
);
var
p
=
null
;
var
invokeObj
=
system
.
getObject
(
"api."
+
classPath
);
if
(
invokeObj
[
"doexec
Method
"
])
{
p
=
invokeObj
[
"doexec
Method
"
].
apply
(
invokeObj
,
params
);
if
(
invokeObj
[
"doexec"
])
{
p
=
invokeObj
[
"doexec"
].
apply
(
invokeObj
,
params
);
}
p
.
then
(
r
=>
{
res
.
end
(
JSON
.
stringify
(
r
));
});
});
app
.
post
(
'/
web/
:gname/:qname/:method'
,
function
(
req
,
res
)
{
app
.
post
(
'/:gname/:qname/:method'
,
function
(
req
,
res
)
{
var
classPath
=
req
.
params
[
"qname"
];
var
methodName
=
req
.
params
[
"method"
];
var
gname
=
req
.
params
[
"gname"
];
...
...
@@ -113,13 +46,11 @@ module.exports = function (app) {
params
.
push
(
req
);
var
p
=
null
;
var
invokeObj
=
system
.
getObject
(
"api."
+
classPath
);
if
(
invokeObj
[
"doexec
Method
"
])
{
p
=
invokeObj
[
"doexec
Method
"
].
apply
(
invokeObj
,
params
);
if
(
invokeObj
[
"doexec"
])
{
p
=
invokeObj
[
"doexec"
].
apply
(
invokeObj
,
params
);
}
p
.
then
(
r
=>
{
res
.
end
(
JSON
.
stringify
(
r
));
});
});
//-----------------------新的模式------------------结束
};
center-order/app/config/routes/doc.js
deleted
100644 → 0
View file @
bd7a99dc
var
url
=
require
(
"url"
);
var
system
=
require
(
"../../base/system"
);
var
fs
=
require
(
'fs'
);
var
marked
=
require
(
"marked"
);
module
.
exports
=
function
(
app
)
{
app
.
get
(
'/doc'
,
function
(
req
,
res
)
{
var
path
=
process
.
cwd
()
+
"/app/front/entry/public/apidoc/README.md"
;
fs
.
readFile
(
path
,
function
(
err
,
data
){
if
(
err
){
console
.
log
(
err
);
res
.
send
(
"文件不存在!"
);
}
else
{
console
.
log
(
data
);
str
=
marked
(
data
.
toString
());
res
.
render
(
'apidoc'
,{
str
});
}
});
});
app
.
get
(
'/doc/:forder'
,
function
(
req
,
res
)
{
var
path
=
process
.
cwd
()
+
"/app/front/entry/public/apidoc/README.md"
;
fs
.
readFile
(
path
,
function
(
err
,
data
){
if
(
err
){
console
.
log
(
err
);
res
.
send
(
"文件不存在!"
);
}
else
{
console
.
log
(
data
);
str
=
marked
(
data
.
toString
());
res
.
render
(
'apidoc'
,{
str
});
}
});
});
app
.
get
(
'/doc/api/:forder/:fileName'
,
function
(
req
,
res
)
{
var
forder
=
req
.
params
[
"forder"
];
var
fileName
=
req
.
params
[
"fileName"
]
||
"README.md"
;
var
path
=
process
.
cwd
()
+
"/app/front/entry/public/apidoc"
;
if
(
forder
)
{
path
=
path
+
"/"
+
forder
+
"/"
+
fileName
;
}
else
{
path
=
path
+
"/"
+
fileName
;
}
fs
.
readFile
(
path
,
function
(
err
,
data
){
if
(
err
){
console
.
log
(
err
);
res
.
send
(
"文件不存在!"
);
}
else
{
console
.
log
(
data
);
str
=
marked
(
data
.
toString
());
console
.
log
(
str
);
res
.
render
(
'apidoc'
,{
str
});
}
});
});
};
center-order/app/front/entry/apidoc.ejs
deleted
100644 → 0
View file @
bd7a99dc
<!DOCTYPE html>
<html
lang=
"zh-CN"
>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"keywords"
content=
"api文档"
>
<meta
name=
"baidu-site-verification"
content=
"lATAxZAm8y"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=0.8, maximum-scale=0.8, user-scalable=1"
>
<link
href=
"https://cdn.bootcss.com/github-markdown-css/2.8.0/github-markdown.min.css"
rel=
"stylesheet"
>
</head>
<body>
<div
style=
"width:100%;text-align: center;font-size: 20px;"
>
渠道接入API文档
</div>
<div
class=
"markdown-body"
style=
"margin-left:40px;"
id=
"doc-page"
>
<
%
-
str
%
>
</div>
</body>
</html>
\ No newline at end of file
center-order/app/front/entry/public/apidoc/README.md
deleted
100644 → 0
View file @
bd7a99dc
## 调用接口方式
### (一). 业务接口地址不需要进行修改
1
[
获取app信息
](
doc/api/appDesc/demoDesc.md#appParams
)
2
[
获取token信息
](
doc/api/appDesc/demoDesc.md#getToken
)
3
[
通用接口示例
](
doc/api/appDesc/demoDesc.md#demo
)
### (二). 业务接口地址前面都加/web,且actionProcess参数可以不用填写
1
[
获取token信息
](
doc/api/appDesc/newDemoDesc.md#getToken
)
2
[
通用接口示例
](
doc/api/appDesc/newDemoDesc.md#demo
)
## ------------------以下为业务接口-------------------------
## 1. 商标操作相关接口
1
[
商标操作中心
](
doc/api/opTrademark/opTm.md
)
## 2. 商标检索相关接口
1
[
商标检索中心
](
doc/api/opTrademark/tmSearch.md
)
## 3. 支付相关接口
1
[
支付中心
](
doc/api/paymentDesc/payment.md
)
## 4. 用户中心相关接口
1
[
用户中心
](
doc/api/user/user.md
)
## 5. 专利检索接口
1
[
专利检索
](
doc/api/patentDesc/patent.md
)
## 6. 证照相关接口
1
[
证照相关推荐
](
doc/api/licensesDesc/license.md
)
\ No newline at end of file
center-order/app/front/entry/public/apidoc/appDesc/demoDesc.md
deleted
100644 → 0
View file @
bd7a99dc
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
获取app信息
](
#appParams
)
1.
[
获取token
](
#getToken
)
1.
[
通用接口示例
](
#demo
)
## **<a name="appParams"> 获取app信息</a>**
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
#### 请求接口之前需要向合作方获取如下参数:
#### appkey:2019090811
#### secret:f99d413b767f09b5dff0b3610366cc46
#### 参数说明:appkey、secret为获取请求头token的参数。
## **<a name="getToken"> 获取token</a>**
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
##### URL
[
/auth/accessAuth/getToken
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"appkey"
:
"2019090811"
,
//Y string appkey
"secret"
:
"f99d413b767f09b5dff0b3610366cc46"
//Y string 密钥
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"token"
:
"40d64e586551405c9bcafab87266bc04"
//token用于其他接口请求时,放在请求头中
},
"requestId"
:
"2016c54abe7249a2a1195d236b333f79"
}
```
## **<a name="demo"> 通用接口示例</a>**
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
##### URL
[
/auth/accessAuth
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
所有请求接口在请求前,必须获取
token
,并把
token
放在请求头
Headers
中,无特殊说明请求方式统一为
POST
请求。
通用请求接口示例:
请求头中需要传递的参数:
token
、
request
-
id
请求参数:
{
"actionProcess"
:
"jd"
,
//Y string 执行的渠道名称
"actionType"
:
"demo"
,
//Y string 渠道执行的类型
"actionBody"
:
{
//N JSON 要传递的body信息
"userId"
:
"019101116473600000"
,
//N string 用户ID
"userName"
:
"张三"
//N string 用户名称
}
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"opDesc"
:
"京东云合作"
},
"requestId"
:
"2016c54abe7249a2a1195d236b333f79"
}
返回值参数说明:
status
返回状态,
0
为成功,否则为失败
msg
成功或失败信息描述
data
接口返回的数据信息
requestId
请求头中的
request
-
id
,作为接口调用跟踪
```
center-order/app/front/entry/public/apidoc/appDesc/newDemoDesc.md
deleted
100644 → 0
View file @
bd7a99dc
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
获取token
](
#getToken
)
1.
[
通用接口示例
](
#demo
)
## **<a name="getToken"> 获取token</a>**
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
##### URL
[
/web/auth/accessAuth/getAppTokenByHosts
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"actionType"
:
"getAppTokenByHosts"
,
//固定写法就行
"actionBody"
:{}
}
```
##### 或
##### URL
[
/web/auth/accessAuth/getAppTokenByAppKey
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"actionType"
:
"getAppTokenByAppKey"
,
//固定写法就行
"actionBody"
:{
"appkey"
:
"2019090811"
,
//Y string appkey
"secret"
:
"f99d413b767f09b5dff0b3610366cc46"
//Y string 密钥
}
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"token"
:
"40d64e586551405c9bcafab87266bc04"
//token用于其他接口请求时,放在请求头中
},
"requestId"
:
"2016c54abe7249a2a1195d236b333f79"
}
```
## **<a name="demo"> 通用接口示例(创建渠道用户信息)</a>**
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
##### URL
[
/web/auth/accessAuth/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
所有请求接口在请求前,必须获取
token
,并把
token
放在请求头
Headers
中,无特殊说明请求方式统一为
POST
请求。
通用请求接口示例:
请求头中需要传递的参数:
token
请求参数:
{
"actionType"
:
"loginUserByChannelUserId"
,
//Y string 渠道执行的类型
"actionBody"
:
{
"channelUserId"
:
"sy-test"
//Y string 渠道用户ID
}
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"userpin"
:
"3440126a4a6e4c2d890a818d5d1dd1e9"
//用户登录后的userpin
},
"requestId"
:
"1596022b5f654379899e6b113a473d2e"
}
返回值参数说明:
status
返回状态,
0
为成功,否则为失败
msg
成功或失败信息描述
data
接口返回的数据信息
requestId
请求头中的
request
-
id
,作为接口调用跟踪
```
center-order/app/front/entry/public/apidoc/licensesDesc/license.md
deleted
100644 → 0
View file @
bd7a99dc
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
根据公司得到推荐要办的证书
](
#getLicenses
)
1.
[
获取企业高薪信息数量
](
#gxCountByAuthor
)
1.
[
获取企业高薪信息列表
](
#gxListByAuthor
)
1.
[
获取企业游戏出版及运营数量
](
#gameCountByAuthor
)
1.
[
获取企业游戏出版及运营信息列表
](
#gameListByAuthor
)
1.
[
获取企业证照信息数量
](
#licenseCountByAuthor
)
1.
[
获取企业证照信息列表
](
#licenseListByAuthor
)
1.
[
获取企业域名信息数量
](
#ipCountByAuthor
)
1.
[
获取企业域名信息列表
](
#ipListByAuthor
)
1.
[
获取企业的分支机构(从企查查获取)
](
#getQccBranches
)
1.
[
获取企业所有证照数量
](
#getcountAll
)
## **<a name="getLicenses"> 根据公司得到推荐要办的证书</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/licenseQuery/getLicenses
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getLicenses
```
javascript
{
"name"
:
"中国专利信息中心"
//公司名称
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:{
recommend
:
[
'高新企业认证'
,
'广播电视节目制作经营许可证'
,
'网络文化经营许可证'
,
'网络游戏运营备案'
]
},
bizmsg
:
'empty'
}
```
## **<a name="gxCountByAuthor"> 获取企业高薪信息数量</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/enterpriseQuery/gxCountByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:gxCountByAuthor
```
javascript
{
"author"
:
"中国专利信息中心"
//公司名称
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
5370
,
bizmsg
:
'empty'
}
```
## **<a name="gxListByAuthor"> 获取企业高薪信息列表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/enterpriseQuery/gxListByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:gxListByAuthor
```
javascript
{
"author"
:
"中国专利信息中心"
,
//公司名称
"page_size"
:
10
,
"current_page"
:
0
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
1
,
data
:
[
{
area
:
'广州'
,
//地区
address
:
'广州市番禺区南村镇兴业路南侧地段(2号厂房)'
,
//企业地址
year
:
2018
,
//年份
businessScope
:
'家用厨房电器具制造;其他家用电力器具制造;其他非电力家用器具制造;塑料薄膜制造;日用塑料制品制造;泵及真空设备制造;液压和气压动力机械及元件制造;制冷、空调设备制造;风动和电动工具制造;电子测量仪器制造;实验分析仪器制造;电气机械设备销售;家用电器批发;塑料制品批发;电子产品批发;技术进出口;货物进出口(专营专控商品除外);'
,
//经营范围
certificateNo
:
'GR201844010345'
,
//证书编号
techType
:
'国家高新'
//类型
}
]
},
bizmsg
:
'empty'
}
```
## **<a name="gameCountByAuthor"> 获取企业游戏出版及运营数量</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/enterpriseQuery/gameCountByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:gameCountByAuthor
```
javascript
{
"author"
:
"中国专利信息中心"
//公司名称
"type"
:
""
//游戏证照类型,取值:[网络游戏出版备案,网络游戏运营备案]
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
5370
,
bizmsg
:
'empty'
}
```
## **<a name="gameListByAuthor"> 获取企业游戏出版及运营信息列表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/enterpriseQuery/gameListByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:gameListByAuthor
```
javascript
{
"author"
:
"中国专利信息中心"
,
//公司名称
"type"
:
""
//游戏证照类型,取值:[网络游戏出版备案,网络游戏运营备案]
"page_size"
:
10
,
"current_page"
:
0
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
1
,
data
:
[
{
game_name
:
'武侠乂'
,
//游戏名称
symbol
:
'国新出审[2019]3526号'
,
//文号
publishing_number
:
'ISBN 978-7-498-07137-8'
,
//出版物号
operation_record
:
'网络游戏运营备案'
,
//游戏运营证照
publish_time
:
'2019-12-20'
,
//出版时间
declaration_category
:
'客户端'
,
//申报类别
publishing_record
:
'网络游戏出版备案'
,
//游戏出版证照
industry_type
:
'文化、体育和娱乐业,科学研究和技术服务业'
,
//行业类型
publishing_unit
:
'安徽新华电子音像出版社'
,
//出版单位
operation_unit
:
'皖新文化科技有限公司'
//运营单位
}
]
},
bizmsg
:
'empty'
}
```
## **<a name="licenseCountByAuthor"> 获取企业证照信息数量</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/enterpriseQuery/licenseCountByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:licenseCountByAuthor
```
javascript
{
"author"
:
"中国专利信息中心"
//公司名称
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
5
,
data
:
[
{
"key"
:
"网络文化经营许可证"
,
"doc_count"
:
25106
},
{
"key"
:
"广播电视节目制作经营许可证"
,
"doc_count"
:
10232
},
{
"key"
:
"ICP许可证"
,
"doc_count"
:
4930
},
{
"key"
:
"IDC许可证"
,
"doc_count"
:
538
},
{
"key"
:
"EDI许可证"
,
"doc_count"
:
33
}
]
},
bizmsg
:
'empty'
}
```
## **<a name="licenseListByAuthor"> 获取企业证照信息列表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/enterpriseQuery/licenseListByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:licenseListByAuthor
```
javascript
{
"author"
:
"中国专利信息中心"
,
//公司名称
"licence"
:
""
//证照类型,取值:[参见上个接口返回结果]
"page_size"
:
10
,
"current_page"
:
0
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
1
,
data
:
[
{
start_date
:
'2010-01-01'
,
//开始时间
end_date
:
'2022-09-18'
,
//到期时间
licence
:
'IDC许可证'
,
//证照类型
licence_no
:
'B1-20172237'
,
//证书编号
companyName
:
'上海橙域网络科技有限公司'
,
//企业名称
service_category
:
'互联网数据中心业务、互联网接入服务业务'
,
//业务种类
industry_type
:
'信息传输、软件和信息技术服务业'
//行业类型
}
]
},
bizmsg
:
'empty'
}
```
## **<a name="ipCountByAuthor"> 获取企业域名信息数量</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/enterpriseQuery/ipCountByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:ipCountByAuthor
```
javascript
{
"author"
:
"中国专利信息中心"
//公司名称
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
5370
,
bizmsg
:
'empty'
}
```
## **<a name="ipListByAuthor"> 获取企业域名信息列表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/enterpriseQuery/ipListByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:ipListByAuthor
```
javascript
{
"author"
:
"中国专利信息中心"
,
//公司名称
"page_size"
:
10
,
"current_page"
:
0
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
{
"total"
:
1
,
"data"
:
[
{
"card_num"
:
"合字B1.B2-20090001"
,
//备案号
"web_adress"
:
"http://202.108.152.218:8088/IcpProject_ISP/"
,
//域名信息
"phone"
:
"010-65195500"
,
//电话
"company_name"
:
"东方口岸科技有限公司"
,
//公司名
"phone2"
:
null
,
//电话2
"phone1"
:
"86-010-65195500"
//电话1
}
]
},
"bizmsg"
:
"empty"
,
"requestId"
:
"0af38a83679640b380d149e9dd4283de"
}
```
## **<a name="getQccBranches"> 获取企业的分支机构(从企查查获取)</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/enterpriseQuery/getQccBranches
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getQccBranches
```
javascript
{
"author"
:
"中国专利信息中心"
//公司名称
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
[
{
"CompanyId"
:
"0e0a10f1836581a149f94d5acc8b6e57"
,
"RegNo"
:
"913301000536684269"
,
"Name"
:
"淘宝(中国)软件有限公司杭州分公司"
,
"BelongOrg"
:
"杭州市市场监督管理局"
,
"CreditCode"
:
null
,
"OperName"
:
null
},
{
"CompanyId"
:
"71778d7fbdff57abbee278e176ea5177"
,
"RegNo"
:
"F07696"
,
"Name"
:
"淘宝(中国)软件有限公司北京分公司"
,
"BelongOrg"
:
"北京市工商行政管理局"
,
"CreditCode"
:
null
,
"OperName"
:
null
},
{
"CompanyId"
:
"eeeb65c2f4db65f7fc741976eba86e55"
,
"RegNo"
:
"9111010568690357X0"
,
"Name"
:
"北京朝阳分公司"
,
"BelongOrg"
:
"北京市工商行政管理局朝阳分局"
,
"CreditCode"
:
null
,
"OperName"
:
null
}
],
"bizmsg"
:
"empty"
,
"requestId"
:
"aef807873b8d4d0da53e3866bfba132d"
}
```
## **<a name="getcountAll"> 获取企业所有证照数量</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/enterpriseQuery/getcountAll
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getcountAll
```
javascript
{
"author"
:
"中国专利信息中心"
//公司名称
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
{
"知产证照"
:
764
,
"互联网经营"
:
0
,
"食品"
:
0
,
"网络文化"
:
0
,
"特种资质"
:
1
},
"bizmsg"
:
"empty"
,
"requestId"
:
"b31ff49f10f0457481228804a9711f18"
}
```
\ No newline at end of file
center-order/app/front/entry/public/apidoc/opTrademark/opTm.md
deleted
100644 → 0
View file @
bd7a99dc
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
尼斯查询(一)
](
#getNcl
)
1.
[
尼斯查询(二)
](
#getNclTwo
)
1.
[
文字转图片
](
#word2pic
)
1.
[
商标样式转换
](
#uploadStandardTm
)
1.
[
图片转pdf
](
#pic2pdf
)
1.
[
企业近似查询
](
#getCompanyInfoByLikeName
)
1.
[
企业注册信息查询
](
#getEntregistryByCompanyName
)
1.
[
调整委托书
](
#adjustWTSSize
)
1.
[
接入方提供查询订单接口
](
#getInfo
)
1.
[
商标提报
](
#subTmOrder
)
1.
[
商标交付列表
](
#getTmOrderList
)
1.
[
商标交付信息
](
#getTmOrderInfo
)
1.
[
商标订单-申请信息
](
#getTmApplyInfo
)
1.
[
商标订单-商标尼斯信息
](
#getTmNclList
)
1.
[
创建需求方案
](
#subNeed
)
1.
[
需求方案-商标信息
](
#getNeedInfo
)
1.
[
商标方案确认
](
#tmConfirm
)
1.
[
商标订单修改-商标信息修改
](
#updateTmInfo
)
1.
[
商标订单修改-商标尼斯信息修改
](
#updateNclInfo
)
1.
[
商标订单修改-修改商标交付单联系人
](
#updateContacts
)
1.
[
商标订单修改-修改申请人信息
](
#updateCustomerInfo
)
1.
[
商标订单修改-修改交官文件
](
#updateCustomerInfo
)
1.
[
产品详情
](
#getProductDetail
)
1.
[
产品列表-根据产品大类获取
](
#getProductListByTypeOneCode
)
1.
[
产品列表-根据产品二类获取
](
#getProductListByTypeCode
)
1.
[
产品详情-应用中心
](
#getCAProductDetail
)
1.
[
产品列表-根据产品大类获取-应用中心
](
#getCAProductListByTypeOneCode
)
1.
[
产品列表-根据产品二类获取-应用中心
](
#getCAProductListByTypeCode
)
## **<a name="getNcl"> 尼斯查询(一)</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmTools/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getNcl
```
javascript
{
"nclcode"
:
"01"
//Y string 尼斯编号(尼斯大类类别获取群组类别)
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
//操作状态0:操作成功-1:操作失败
"msg"
:
"操作成功"
,
//操作信息
"data"
:
[
{
"code"
:
"01"
,
//尼斯大类编码
"name"
:
""
,
//大类名称
"pcode"
:
""
,
//父类编码 大类要为父类则为空
"type"
:
1
,
"children"
:
[
//尼斯群组信息
{
"code"
:
"0106"
,
//群组编码
"name"
:
"化学试剂"
,
//群组名称
"pcode"
:
"01"
,
//群组父类编码 即其所属大类编码
"type"
:
1
,
"children"
:
[
//尼斯小类
{
"code"
:
"010122"
,
//小类编码
"name"
:
"生物化学催化剂"
,
//小类名称
"pcode"
:
"0106"
//小类父类编码 即其所属群组编码
}
]
}
]
},
{
"code"
:
"42"
,
"name"
:
""
,
"pcode"
:
""
,
"type"
:
1
,
"children"
:
[
{
"code"
:
"4211"
,
"name"
:
"提供化学研究服务"
,
"pcode"
:
"42"
,
"type"
:
1
,
"children"
:
[
{
"code"
:
""
,
"name"
:
"生物化学研究和分析"
,
"pcode"
:
"4211"
}
]
}
]
}
],
"requestId"
:
"8cd7e91ec607453c805da8302f3e068c"
}
```
## **<a name="getNclTwo"> 尼斯查询(二)</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmTools/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getNcl
```
javascript
{
"name"
:
"生物化学"
,
//Y strin 尼斯名称
"ncls "
:
[
"01"
]
//N List 尼斯大类编码列表
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
//操作状态0:操作成功-1:操作失败
"msg"
:
"操作成功"
,
//操作信息
"data"
:
[
{
"code"
:
"01"
,
//尼斯大类编码
"name"
:
""
,
//大类名称
"pcode"
:
""
,
//父类编码 大类要为父类则为空
"type"
:
1
,
"children"
:
[
//尼斯群组信息
{
"code"
:
"0106"
,
//群组编码
"name"
:
"化学试剂"
,
//群组名称
"pcode"
:
"01"
,
//群组父类编码 即其所属大类编码
"type"
:
1
,
"children"
:
[
//尼斯小类
{
"code"
:
"010122"
,
//小类编码
"name"
:
"生物化学催化剂"
,
//小类名称
"pcode"
:
"0106"
//小类父类编码 即其所属群组编码
}
]
}
]
},
{
"code"
:
"42"
,
"name"
:
""
,
"pcode"
:
""
,
"type"
:
1
,
"children"
:
[
{
"code"
:
"4211"
,
"name"
:
"提供化学研究服务"
,
"pcode"
:
"42"
,
"type"
:
1
,
"children"
:
[
{
"code"
:
""
,
"name"
:
"生物化学研究和分析"
,
"pcode"
:
"4211"
}
]
}
]
}
],
"requestId"
:
"8cd7e91ec607453c805da8302f3e068c"
}
```
## **<a name="word2pic"> 文字转图片</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmTools/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:word2pic
```
javascript
{
"word"
:
"235"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"url"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_word2pic0310054131e546c68e572e72845e10ed.jpg"
},
"requestId"
:
"289fc8efa0ca4db79affc34dc0b78b9e"
}
```
## **<a name="uploadStandardTm"> 商标样式转换</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmTools/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:uploadStandardTm
```
javascript
{
"key"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_picUrl295615693112289552019824.jpg"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"url"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_picUrl295652019824.jpg"
,
"url2"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/6tkoZLO7vLzvFpzP2sOo.jpg"
},
"requestId"
:
"610fa9e864014d9b92bb63bb28eab6df"
}
```
## **<a name="pic2pdf"> 图片转pdf</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmTools/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:pic2pdf
```
javascript
{
"key"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_picUrl295615693112289552019824.jpg"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"url"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_yyzz23491569102019824.pdf"
},
"requestid"
:
"0f6a38044034475eb47e80a78d3bdd6c"
}
```
## **<a name="getCompanyInfoByLikeName"> 企业近似查询</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmTools/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getCompanyInfoByLikeName
```
javascript
{
"likestr"
:
"北京"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
[
{
"entId"
:
188568958
,
"province"
:
"北京"
,
"domainEntName"
:
"爱陌客(北京)文化传媒有限责任公司"
,
"entName"
:
"爱陌客(北京)文化传媒有限责任公司"
,
"entLegalperson"
:
"王林"
,
"entStatus"
:
"存续"
,
"capitalUnit"
:
"万人民币"
,
"capitalStandard"
:
"50000000.000"
,
"foundedTime"
:
"2019-4-24"
,
"regLocation"
:
"北京市顺义区高丽营镇北高路99号4号楼2层202室"
,
"creditCode"
:
"91110113MA01JPD53X"
},
{
"entId"
:
140981646
,
"province"
:
"北京"
,
"domainEntName"
:
"中国铁路北京局集团有限公司"
,
"entName"
:
"中国铁路北京局集团有限公司"
,
"entLegalperson"
:
"赵春雷"
,
"entStatus"
:
"存续"
,
"capitalUnit"
:
null
,
"capitalStandard"
:
"24895969.000"
,
"foundedTime"
:
"1993-4-22"
,
"regLocation"
:
"北京市海淀区复兴路6号"
,
"creditCode"
:
"91110000100013669B"
}
],
"requestid"
:
"0f6a38044034475eb47e80a78d3bdd6c"
}
```
## **<a name="getEntregistryByCompanyName"> 企业注册信息查询</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmTools/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getEntregistryByCompanyName
```
javascript
{
"companyName"
:
"北京创知厚德科技有限公司"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"name"
:
"北京创知厚德科技有限公司"
,
"legalRepresentative"
:
"王静波"
,
"managementState"
:
"存续"
,
"registeredCapital"
:
"100.000null"
,
"foundedTime"
:
"2016-7-20"
,
"creditCode"
:
"91110105MA00723E4F"
,
"registrID"
:
null
,
"organizationCode"
:
"MA00723E4"
,
"companyType"
:
"0"
,
"registerOffice"
:
"朝阳分局"
,
"businessAddress"
:
"北京市朝阳区创远路36号院10号楼1层102"
,
"scope"
:
"技术开发、技术咨询、技术服务;商标代理;版权贸易;经济贸易咨询;企业策划;设计、制作、代理、发布广告;市场调查;企业管理咨询;组织文化艺术交流活动(不含演出);承办展览展示活动;影视策划;翻译服务;酒店管理;销售文具用品、体育用品、机械设备、五金交电(不从事实体店铺经营)、电子产品、通讯设备、计算机、软件及辅助设备;工程和技术研究;计算机系统服务;基础软件服务;应用软件服务(不含医用软件);软件开发;出租办公用房;机动车公共停车场服务;会议服务;房地产信息咨询;房地产开发;物业管理。(企业依法自主选择经营项目,开展经营活动;依法须经批准的项目,经相关部门批准后依批准的内容开展经营活动;不得从事本市产业政策禁止和限制类项目的经营活动。)"
,
"dateIssue"
:
"2018-3-9"
,
"businessTerm"
:
"2016-7-20至2036-7-19"
},
"requestId"
:
"2016c54abe7249a2a1195d236b333f79"
}
```
## **<a name="adjustWTSSize"> 调整委托书</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmTools/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:adjustWTSSize
```
javascript
{
"key"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_word2pic0310054131e546c68e572e72845e10ed.jpg"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"url"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_wts745215693150065342019824.jpg"
},
"bizmsg"
:
"empty"
,
"requestid"
:
"10fc80d7084549238ad59a1016a92c5f"
}
```
## **<a name="getInfo"> 接入方提供查询订单接口</a>**
[
返回到目录
](
#menu
)
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求地址:/openapi/order/getInfo
```
javascript
{
"order_no"
:
"1000053513"
}
```
#### 返回结果
```
javascript
{
"code"
:
200
,
"message"
:
"success"
,
"data"
:
{
"org_name"
:
"汉唐集团"
,
"order_state"
:
"待办理"
,
"order_company_name"
:
"王朋"
,
"customer_phone"
:
"18191765160"
,
"customer_name"
:
"无"
,
"customer_email"
:
""
,
"order_price"
:
899
,
"needId"
:
"5d24470fd9f9340009f3528a"
,
"threeClassCount"
:
10
,
"order_nos"
:
[
"1000053513"
],
"oneClassCount"
:
1
}
}
```
## **<a name="subTmOrder"> 商标提报</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:subTmOrder
```
javascript
{
"itemCode"
:
"zzsbzc"
,
"channelParams"
:
{},
"channelUser"
:
{
"channelUserId"
:
"z1203155540315474420"
,
"channelUserName"
:
"testUser"
,
"channelUserMoblie"
:
"15010929368"
,
"nickname"
:
""
,
"orgName"
:
""
,
"orgPath"
:
""
},
"channelOrder"
:
{
"channelServiceNo"
:
"z1203155540315474420"
,
"channelOrderNo"
:
"z12031,z1203d1"
,
"needNo"
:
"z120303d1"
,
"quantity"
:
1
,
"nclCount"
:
10
,
"payStatus"
:
"yfk"
,
"payTime"
:
"2019-09-11 10:23:21"
},
"apply"
:
{
"applyAddr"
:
"上海市杨浦区国定路346号三楼0624室"
,
"applyArea"
:
""
,
"businessLicensePic"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_yyzz120315554031547442019316.jpg"
,
"businessLicensePdf"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_yyzz120315554031547442019316.pdf"
,
"code"
:
"91310110398635929J"
,
"contacts"
:
"宋毅"
,
"customerType"
:
"ent"
,
"email"
:
"songyi@gongsibao.com"
,
"fax"
:
""
,
"identityCardNo"
:
""
,
"identityCardPic"
:
""
,
"identityCardPdf"
:
""
,
"mobile"
:
"15010929368"
,
"name"
:
"上海辰者信息科技有限公司"
,
"notes"
:
"订单备注信息"
,
"gzwtsUrl"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_wts863215710393842862019914.jpg"
,
"smwjUrl"
:
""
,
"zipCode"
:
"100000"
},
"tm"
:
{
"colorizedPicUrl"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_word2picb2bc98b9fc564ef2a1f4b3cbe9352f39.jpg"
,
"tmName"
:
"testbiao"
,
"picUrl"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_word2picb2bc98b9fc564ef2a1f4b3cbe9352f39.jpg"
,
"selecttype"
:
"自主选择"
,
"tmFormType"
:
"3"
,
"totalPublicExpense"
:
270
,
"totalServiceCharge"
:
0
,
"totalSum"
:
270
,
"totalTaxes"
:
"0.00"
},
"nclones"
:
[
{
"code"
:
"02"
,
"name"
:
"颜料油漆"
,
"nclThree"
:
[
{
"code"
:
"020008"
,
"disabled"
:
false
,
"fullname"
:
"020008 绘画用铝粉"
,
"name"
:
"绘画用铝粉"
,
"pcode"
:
"0202"
},
{
"code"
:
"020005"
,
"disabled"
:
false
,
"fullname"
:
"020005 食品用着色剂"
,
"name"
:
"食品用着色剂"
,
"pcode"
:
"0203"
}
]
}
]
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
" deliveryOrderNo"
:
"346c3091684e4e57a7639bec30eef5f7"
,
" channelServiceNo"
:
"346c3091684e4e0eef"
,
"channelParams"
:{}
},
"requestid"
:
"2016c54abe7249a2a1195d236b333f79"
}
```
## **<a name="getTmOrderList"> 商标交付列表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getTmOrderList
```
javascript
{
"channelUserId"
:
"channelUserIdtest01"
,
"channelServiceNo"
:
"346c3091684e4e0eef"
,
"deliveryOrderNo"
:
"346c3091684e4e0eef"
,
"itemCode"
:
""
,
"deliveryStatus"
:
""
,
"payStatus"
:
""
,
"tmName"
:
""
,
"name"
:
""
,
"startTime"
:
"2019-10-27"
,
"entTime"
:
"2019-10-31"
,
"pageIndex "
:
1
,
"pageSize"
:
10
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
[
{
"channelServiceNo"
:
"z1203155540315474420"
,
"deliveryOrderNo"
:
"JF201910301606zlBced"
,
"tmName"
:
"testbiao"
,
"nclOneCount"
:
1
,
"nclOneCodes"
:
"02"
,
"itemCode"
:
"zzsbzc"
,
"itemName"
:
"商标自主注册"
,
"totalSum"
:
"270.00"
,
"name"
:
"上海辰者信息科技有限公司"
,
"deliveryStatus"
:
"dsccl"
,
"deliveryStatusName"
:
"待上传材料"
,
"payStatus"
:
"yfk"
,
"payStatusName"
:
"已付款"
,
"CreateDate"
:
"2019-10-30T08:06:02.000Z"
,
"submitTime"
:
null
,
"notes"
:
null
}
],
"requestId"
:
"6bcec4c156844858b82aa804e7df7923"
}
```
## **<a name="getTmOrderInfo"> 商标交付信息</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getTmOrderInfo
```
javascript
{
"channelUserId"
:
"channelUserIdtest01"
,
"deliveryOrderNo"
:
"JF201910301606zlBced"
,
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"tm"
:
{
"itemCode"
:
" zzsbzc"
,
"itemName"
:
"商标自主注册"
,
"tmName"
:
"testbiao"
,
"picUrl"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_word2picb2bc98b9fc564ef2a1f4b3cbe9352f39.jpg"
,
"colorizedPicUrl"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_word2picb2bc98b9fc564ef2a1f4b3cbe9352f39.jpg"
,
"tmType"
:
"p"
,
"tmFormType"
:
"3"
,
"nclOneCodes"
:
"02"
,
"gzwtsUrl"
:
null
,
"smwjUrl"
:
null
,
"deliveryStatus"
:
"dsccl"
,
"notes"
:
""
},
"orderFlow"
:
[
{
"opContent"
:
"订单已付款待上传材料"
,
" createDate"
:
"2019-10-30T08:06:03.000Z"
}
],
"receiptVoucher"
:
[
{
"payAccountType"
:
"other"
,
"payDate"
:
"2019-08-07T06:30:06.000Z"
,
"wxPayOrderCode"
:
"TMO2019081213508t9GH"
,
"aliPayOrderCode"
:
"TMO2019081213508t9GH"
,
"busPayOrderCode"
:
"TMO2019081213508t9GH"
,
"certifyFileUrl"
:
""
,
"totalSum"
:
270
}
]
},
"requestId"
:
"6b58931813284878aaee3a601db4a33f"
}
```
## **<a name="getTmApplyInfo"> 商标订单-申请信息</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getTmApplyInfo
```
javascript
{
"channelUserId"
:
"channelUserIdtest01"
,
"deliveryOrderNo"
:
"346c3091684e4e0eef"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"applyAddr"
:
"上海市杨浦区国定路346号三楼0624室"
,
"applyArea"
:
""
,
"businessLicensePic"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_yyzz120315554031547442019316.pdf"
,
"businessLicensePdf"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_yyzz120315554031547442019316.pdf"
,
"code"
:
"91310110398635929J"
,
"customerType"
:
"ent"
,
"identityCardNo"
:
null
,
"identityCardPic"
:
null
,
"identityCardPdf"
:
null
,
"name"
:
"上海辰者信息科技有限公司"
,
"contacts"
:
"宋毅"
,
"mobile"
:
"15010929368"
,
"email"
:
"songyi@gongsibao.com"
,
"fax"
:
""
,
"zipCode"
:
"100000"
},
"requestId"
:
"c0241b9f1467437490264eb44f009699"
}
```
## **<a name="getTmNclList"> 商标订单-商标尼斯信息</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getTmNclList
```
javascript
{
"channelUserId"
:
"channelUserIdtest01"
,
"deliveryOrderNo"
:
"346c3091684e4e0eef"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
[
{
"nclOneCodes"
:
"02"
,
"nclSmallCodes"
:
"[{
\"
code
\"
:
\"
020008
\"
,
\"
disabled
\"
:false,
\"
fullname
\"
:
\"
020008 绘画用铝粉
\"
,
\"
name
\"
:
\"
绘画用铝粉
\"
,
\"
pcode
\"
:
\"
0202
\"
},{
\"
code
\"
:
\"
020005
\"
,
\"
disabled
\"
:false,
\"
fullname
\"
:
\"
020005 食品用着色剂
\"
,
\"
name
\"
:
\"
食品用着色剂
\"
,
\"
pcode
\"
:
\"
0203
\"
}]"
,
"officialType"
:
"dsccl"
,
"officialTypeName"
:
"待上传材料"
,
"tmRegistNum"
:
null
,
"submitTime"
:
null
,
"tmOfficials"
:
[
{
"officialType"
:
"1"
,
"officialTypeName"
:
"商标注册申请书"
,
"officialFileUrl"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_38715656607601102019139460110TMZC40280354.pdf"
,
"createDate"
:
"2019-08-12T06:13:45.000Z"
}
]
}
],
"requestId"
:
"4bd42193408a48aab1f3930162c3eb6e"
}
```
## **<a name="subNeed"> 创建需求方案</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:subNeed
```
javascript
{
"channelUser"
:
{
"channelUserId"
:
"z1203155540315474420"
,
"channelUserName"
:
"testUser"
,
"channelUserMoblie"
:
"15010929368"
,
"nickname"
:
""
,
"orgName"
:
""
,
"orgPath"
:
""
},
" channelNeedNo"
:
"346c3091684e4e0eef"
,
"needUserMoblie"
:
"15010929361"
,
"needDesc"
:
"想申请一个 关于 鲸鱼 的商标,用于教育行业"
,
"city"
:
"北京市"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"data"
:
{
"needNo"
:
" e392dc87c70"
},
"msg"
:
"需求方案创建成功"
,
"requestId"
:
"0c14f04dc187486b829e392dc87c70c6"
}
```
## **<a name="getNeedInfo"> 需求方案-商标信息</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getNeedInfo
```
javascript
{
"channelUserId"
:
"channelUserIdtest01"
,
"needNo"
:
"346c3091684e4e0eef"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
[
{
"id"
:
955
,
"tbCode"
:
"2019040114280983097851"
,
"tmType"
:
"p"
,
"tmFormTypeName"
:
"字"
,
"tmFormType"
:
"3"
,
"itemCode"
:
33
,
"itemName"
:
""
,
"nclOneCodes"
:
"25"
,
"nclSmallCodes"
:
"[{
\"
code
\"
:
\"
C250005
\"
,
\"
name
\"
:
\"
童装
\"
,
\"
pcode
\"
:
\"
2501
\"
},{
\"
code
\"
:
\"
250057
\"
,
\"
name
\"
:
\"
成品衣
\"
,
\"
pcode
\"
:
\"
2501
\"
},{
\"
code
\"
:
\"
250013
\"
,
\"
name
\"
:
\"
袜
\"
,
\"
pcode
\"
:
\"
2509
\"
},{
\"
code
\"
:
\"
250045
\"
,
\"
name
\"
:
\"
服装
\"
,
\"
pcode
\"
:
\"
2505
\"
},{
\"
code
\"
:
\"
250130
\"
,
\"
name
\"
:
\"
鞋
\"
,
\"
pcode
\"
:
\"
2507
\"
},{
\"
code
\"
:
\"
250046
\"
,
\"
name
\"
:
\"
帽
\"
,
\"
pcode
\"
:
\"
2508
\"
},{
\"
code
\"
:
\"
250092
\"
,
\"
name
\"
:
\"
婴儿全套衣
\"
,
\"
pcode
\"
:
\"
2502
\"
},{
\"
code
\"
:
\"
250018
\"
,
\"
name
\"
:
\"
衣服吊带
\"
,
\"
pcode
\"
:
\"
2512
\"
},{
\"
code
\"
:
\"
250155
\"
,
\"
name
\"
:
\"
T恤衫
\"
,
\"
pcode
\"
:
\"
2501
\"
}]"
,
"submitTime"
:
""
,
"tmRegistNum"
:
""
,
"officialTypeName"
:
""
,
"officialType"
:
""
,
"notes"
:
""
,
"opNotes"
:
""
,
"subErrorMsg"
:
""
,
"nclPublicExpense"
:
"300.00"
,
"tmName"
:
"梦想真美好"
,
"auditStatus"
:
"00"
,
"channelServiceNo"
:
"2019081213508t9"
,
"sourceOrderNo"
:
"TMO2019081213508t9GH"
,
"created_at"
:
"2019-08-12T06:13:45.000Z"
,
"tmOfficials"
:
[
{
"id"
:
226
,
"officialTypeName"
:
"商标注册申请书"
,
"officialType"
:
"1"
,
"tmRegistNum"
:
"40280354"
,
"officialFileName"
:
"商标注册申请书_40280354_喜得益_33.pdf"
,
"officialFileUrl"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_38715656607601102019139460110TMZC40280354.pdf"
,
"notes"
:
""
,
"name"
:
""
,
"code"
:
""
,
"created_at"
:
"2019-08-12T06:13:45.000Z"
}
]
}
],
"requestId"
:
"2016c54abe7249a2a1195d236b333f79"
}
```
## **<a name="tmConfirm"> 商标方案确认</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:tmConfirm
```
javascript
{
"channelUserId"
:
"testUser"
,
"deliveryOrderNo "
:
"346c3091684e4e0eef"
,
"isConfirm "
:
"1"
,
"notes "
:
""
,
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"data"
:
null
,
"msg"
:
"商标方案确认成功"
,
"requestId"
:
"0c14f04dc187486b829e392dc87c70c6"
}
```
## **<a name="updateTmInfo"> 商标订单修改-商标信息修改</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:updateTmInfo
```
javascript
{
"channelUserId"
:
"channelUserIdtest01"
,
"deliveryOrderNo"
:
"JF201910301606zlBced"
,
"tmName"
:
"测试修改"
,
"tmFormType"
:
"7"
,
"picUrl"
:
"http://www.2345.com/images/logo/logo_normal_20181008.png"
,
"colorizedPicUrl"
:
"http://e.hiphotos.baidu.com/image/h%3D300/sign=a9e671b9a551f3dedcb2bf64a4eff0ec/4610b912c8fcc3cef70d70409845d688d53f20f7.jpg"
,
"notes"
:
"测试说明"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"ab3dbb7dce5b4b44bc1d1c83e887ffee"
}
```
## **<a name="updateNclInfo"> 商标订单修改-商标尼斯信息修改</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:updateNclInfo
```
javascript
{
"channelUserId"
:
"channelUserIdtest01"
,
"deliveryOrderNo"
:
"JF201910301606zlBced"
,
"tbCode"
:
"TB201910301606SFn4MO"
,
"nclOneCodes"
:
"01"
,
"nclSmallCodes"
:[{
"code"
:
""
,
"name"
:
"工业用人造石墨"
,
"fullname"
:
" 工业用人造石墨"
,
"pcode"
:
"0101"
,
"disabled"
:
false
}]
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"ab3dbb7dce5b4b44bc1d1c83e887ffee"
}
```
## **<a name="updateContacts"> 商标订单修改-修改商标交付单联系人</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:updateContacts
```
javascript
{
"channelUserId"
:
"channelUserIdtest01"
,
"deliveryOrderNo"
:
"JF201910301606zlBced"
,
"name"
:
"测试联系人"
,
"mobile"
:
"13075556666"
,
"email"
:
"257111114@qq.com"
,
"tel"
:
"0531255555"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"ab3dbb7dce5b4b44bc1d1c83e887ffee"
}
```
## **<a name="updateCustomerInfo"> 商标订单修改-修改申请人信息</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:updateCustomerInfo
```
javascript
{
"channelUserId"
:
"channelUserIdtest01"
,
"deliveryOrderNo"
:
"JF201910301606zlBced"
,
"customerType"
:
"person"
,
"name"
:
"测试申请人名称"
,
"code"
:
"111222333444"
,
"applyAddr"
:
"北京市测试地址"
,
"zipCode"
:
"261514"
,
"identityCardPic"
:
"http://f.hiphotos.baidu.com/image/h%3D300/sign=0c78105b888ba61ec0eece2f713597cc/0e2442a7d933c8956c0e8eeadb1373f08202002a.jpg"
,
"businessLicensePic"
:
"http://f.hiphotos.baidu.com/image/h%3D300/sign=d985fb87d81b0ef473e89e5eedc551a1/b151f8198618367aa7f3cc7424738bd4b31ce525.jpg"
,
"identityCardPdf"
:
"http://f.hiphotos.baidu.com/image/h%3D300/sign=0c78105b888ba61ec0eece2f713597cc/0e2442a7d933c8956c0e8eeadb1373f08202002a.jpg"
,
"businessLicensePdf"
:
"http://f.hiphotos.baidu.com/image/h%3D300/sign=d985fb87d81b0ef473e89e5eedc551a1/b151f8198618367aa7f3cc7424738bd4b31ce525.jpg"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"ab3dbb7dce5b4b44bc1d1c83e887ffee"
}
```
## **<a name="updateOfficial"> 商标订单修改-修改交官文件</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:updateOfficial
```
javascript
{
"channelUserId"
:
"channelUserIdtest01"
,
"deliveryOrderNo"
:
"JF201910301606zlBced"
,
"gzwtsUrl"
:
"http://a.hiphotos.baidu.com/image/h%3D300/sign=a62e824376d98d1069d40a31113eb807/838ba61ea8d3fd1fc9c7b6853a4e251f94ca5f46.jpg"
,
"smwjUrl"
:
"http://b.hiphotos.baidu.com/image/h%3D300/sign=92afee66fd36afc3110c39658318eb85/908fa0ec08fa513db777cf78376d55fbb3fbd9b3.jpg"
,
"identityCardPic"
:
"http://f.hiphotos.baidu.com/image/h%3D300/sign=0c78105b888ba61ec0eece2f713597cc/0e2442a7d933c8956c0e8eeadb1373f08202002a.jpg"
,
"businessLicensePic"
:
"http://f.hiphotos.baidu.com/image/h%3D300/sign=d985fb87d81b0ef473e89e5eedc551a1/b151f8198618367aa7f3cc7424738bd4b31ce525.jpg"
,
"identityCardPdf"
:
"http://f.hiphotos.baidu.com/image/h%3D300/sign=0c78105b888ba61ec0eece2f713597cc/0e2442a7d933c8956c0e8eeadb1373f08202002a.jpg"
,
"businessLicensePdf"
:
"http://f.hiphotos.baidu.com/image/h%3D300/sign=d985fb87d81b0ef473e89e5eedc551a1/b151f8198618367aa7f3cc7424738bd4b31ce525.jpg"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"ab3dbb7dce5b4b44bc1d1c83e887ffee"
}
```
## **<a name="getProductDetail"> 产品详情</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getProductDetail
```
javascript
{
"channelUserId"
:
"testUserId01"
,
"channelItemCode"
:
"3492659"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:{
"id"
:
4
,
"app_id"
:
2
,
"itemCode"
:
"fzsbzc"
,
"itemName"
:
"商标注册-专家辅助申请"
,
"picUrl"
:
null
,
"channelItemCode"
:
"3492659"
,
"channelItemName"
:
"【商标注册】专家辅助申请"
,
"serviceItemCode"
:
"autosubmit_tm_1688"
,
"proPrice"
:
0
,
"serviceCharge"
:
0
,
"publicExpense"
:
0
,
"rateConfig"
:
"0.00"
,
"discountsRateConfig"
:
"0.00"
},
"requestId"
:
"8f35053243f14958828b3f378fa5828b"
}
```
## **<a name="getProductListByTypeOneCode"> 产品列表-根据产品大类获取</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getProductListByTypeOneCode
```
javascript
{
"channelUserId"
:
"testUserId01"
,
"itemCode"
:
"sbfu"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:[
{
"id"
:
3
,
"app_id"
:
2
,
"itemCode"
:
"zzsbzc"
,
"itemName"
:
"商标注册-自助注册申请"
,
"picUrl"
:
null
,
"channelItemCode"
:
"1406046"
,
"channelItemName"
:
"【商标注册】自助注册申请"
,
"serviceItemCode"
:
"zzsbzc"
,
"proPrice"
:
0
,
"serviceCharge"
:
0
,
"publicExpense"
:
0
,
"rateConfig"
:
"0.00"
,
"discountsRateConfig"
:
"0.00"
},
{
"id"
:
4
,
"app_id"
:
2
,
"itemCode"
:
"fzsbzc"
,
"itemName"
:
"商标注册-专家辅助申请"
,
"picUrl"
:
null
,
"channelItemCode"
:
"3492659"
,
"channelItemName"
:
"【商标注册】专家辅助申请"
,
"serviceItemCode"
:
"autosubmit_tm_1688"
,
"proPrice"
:
0
,
"serviceCharge"
:
0
,
"publicExpense"
:
0
,
"rateConfig"
:
"0.00"
,
"discountsRateConfig"
:
"0.00"
}
],
"requestId"
:
"407622edd9ca4772a4eb40a54e488fac"
}
```
## **<a name="getProductListByTypeCode"> 产品列表-根据产品二类获取</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getProductListByTypeCode
```
javascript
{
"channelUserId"
:
"testUserId01"
,
"itemCode"
:
"sbzc"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:[
{
"id"
:
3
,
"app_id"
:
2
,
"itemCode"
:
"zzsbzc"
,
"itemName"
:
"商标注册-自助注册申请"
,
"picUrl"
:
null
,
"channelItemCode"
:
"1406046"
,
"channelItemName"
:
"【商标注册】自助注册申请"
,
"serviceItemCode"
:
"zzsbzc"
,
"proPrice"
:
0
,
"serviceCharge"
:
0
,
"publicExpense"
:
0
,
"rateConfig"
:
"0.00"
,
"discountsRateConfig"
:
"0.00"
},
{
"id"
:
4
,
"app_id"
:
2
,
"itemCode"
:
"fzsbzc"
,
"itemName"
:
"商标注册-专家辅助申请"
,
"picUrl"
:
null
,
"channelItemCode"
:
"3492659"
,
"channelItemName"
:
"【商标注册】专家辅助申请"
,
"serviceItemCode"
:
"autosubmit_tm_1688"
,
"proPrice"
:
0
,
"serviceCharge"
:
0
,
"publicExpense"
:
0
,
"rateConfig"
:
"0.00"
,
"discountsRateConfig"
:
"0.00"
}
],
"requestId"
:
"407622edd9ca4772a4eb40a54e488fac"
}
```
## **<a name="getCAProductDetail"> 产品详情-应用中心</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getCAProductDetail
```
javascript
{
"channelItemCode"
:
"FW_GOODS-581976-1"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:[
{
"id"
:
1
,
"uapp_id"
:
16
,
"path_code"
:
"sbfu/sbzc"
,
"path_name"
:
"商标服务/商标注册"
,
"item_code"
:
"zzsbzc"
,
"item_name"
:
"商标注册【自助申请】"
,
"pic_url"
:
null
,
"product_desc"
:
"{"
logo
":"","
desc
":["
自己检索商标
,
准备官方所需注册材料
","
提交迅速
,
及时反馈
","
全流程跟踪
,
掌握申请进度
"]}"
,
"channel_item_code"
:
"FW_GOODS-581976-1"
,
"channel_item_name"
:
"商标注册【自助申请】"
,
"sort"
:
0
,
"productType_id"
:
2
,
"created_at"
:
"2020-01-07T15:29:57.000Z"
,
"product_id"
:
1
,
"price"
:
300
,
"supply_price"
:
0
,
"service_charge"
:
0
,
"public_expense"
:
0
,
"channel_profit_rate"
:
0
,
"price_type"
:
"mj"
,
"price_type_name"
:
"每件"
,
"price_desc"
:
null
,
"min_qty"
:
1
,
"max_qty"
:
100
,
"type_id"
:
2
,
"p_id"
:
1
,
"type_code"
:
"sbzc"
,
"type_name"
:
"商标注册"
,
"type_pic"
:
null
,
"type_desc"
:
null
,
"type_icon"
:
null
,
"p_type_id"
:
1
,
"p_type_code"
:
"sbfu"
,
"p_type_name"
:
"商标服务"
,
"p_type_pic"
:
null
,
"p_type_desc"
:
null
,
"p_type_icon"
:
null
,
"productPriceList"
:[
{
"price"
:
300
,
"supply_price"
:
0
,
"service_charge"
:
0
,
"public_expense"
:
0
,
"is_default"
:
1
,
"price_type"
:
"mj"
,
"price_type_name"
:
"每件"
,
"sort"
:
1
,
"price_desc"
:
null
,
"min_qty"
:
1
,
"max_qty"
:
100
}
]
}
],
"requestId"
:
"0f2cad6ead8f4788b61bdd619f45732e"
}
```
## **<a name="getCAProductListByTypeOneCode"> 产品列表-根据产品大类获取-应用中心</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getCAProductListByTypeOneCode
```
javascript
{
"typeOneCode"
:
"sbfu"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:[
{
"id"
:
1
,
"uapp_id"
:
16
,
"path_code"
:
"sbfu/sbzc"
,
"path_name"
:
"商标服务/商标注册"
,
"item_code"
:
"zzsbzc"
,
"item_name"
:
"商标注册【自助申请】"
,
"pic_url"
:
null
,
"product_desc"
:
"{"
logo
":"","
desc
":["
自己检索商标
,
准备官方所需注册材料
","
提交迅速
,
及时反馈
","
全流程跟踪
,
掌握申请进度
"]}"
,
"channel_item_code"
:
"FW_GOODS-581976-1"
,
"channel_item_name"
:
"商标注册【自助申请】"
,
"sort"
:
0
,
"productType_id"
:
2
,
"created_at"
:
"2020-01-07T15:29:57.000Z"
,
"product_id"
:
1
,
"price"
:
300
,
"supply_price"
:
0
,
"service_charge"
:
0
,
"public_expense"
:
0
,
"channel_profit_rate"
:
0
,
"price_type"
:
"mj"
,
"price_type_name"
:
"每件"
,
"price_desc"
:
null
,
"min_qty"
:
1
,
"max_qty"
:
100
,
"type_id"
:
2
,
"p_id"
:
1
,
"type_code"
:
"sbzc"
,
"type_name"
:
"商标注册"
,
"type_pic"
:
null
,
"type_desc"
:
null
,
"type_icon"
:
null
,
"p_type_id"
:
1
,
"p_type_code"
:
"sbfu"
,
"p_type_name"
:
"商标服务"
,
"p_type_pic"
:
null
,
"p_type_desc"
:
null
,
"p_type_icon"
:
null
},
{
"id"
:
2
,
"uapp_id"
:
16
,
"path_code"
:
"sbfu/sbzc"
,
"path_name"
:
"商标服务/商标注册"
,
"item_code"
:
"fzsbzc"
,
"item_name"
:
"商标注册【专家辅助申请】"
,
"pic_url"
:
null
,
"product_desc"
:
"{"
logo
":"","
desc
":["
由专业代理人帮您检索分析
,
成功率高
","
为您优化注册方案
,
全方位保护
","
代理人全流程服务
,
24
小时拿到官方申请号
"]}"
,
"channel_item_code"
:
"FW_GOODS-580010-1"
,
"channel_item_name"
:
"商标注册【专家辅助申请】"
,
"sort"
:
0
,
"productType_id"
:
2
,
"created_at"
:
"2020-01-07T15:30:34.000Z"
,
"product_id"
:
2
,
"price"
:
699
,
"supply_price"
:
0
,
"service_charge"
:
0
,
"public_expense"
:
0
,
"channel_profit_rate"
:
0
,
"price_type"
:
"mj"
,
"price_type_name"
:
"每件"
,
"price_desc"
:
null
,
"min_qty"
:
1
,
"max_qty"
:
100
,
"type_id"
:
2
,
"p_id"
:
1
,
"type_code"
:
"sbzc"
,
"type_name"
:
"商标注册"
,
"type_pic"
:
null
,
"type_desc"
:
null
,
"type_icon"
:
null
,
"p_type_id"
:
1
,
"p_type_code"
:
"sbfu"
,
"p_type_name"
:
"商标服务"
,
"p_type_pic"
:
null
,
"p_type_desc"
:
null
,
"p_type_icon"
:
null
},
{
"id"
:
3
,
"uapp_id"
:
16
,
"path_code"
:
"sbfu/sbzc"
,
"path_name"
:
"商标服务/商标注册"
,
"item_code"
:
"dbsbzc"
,
"item_name"
:
"商标注册【担保申请】"
,
"pic_url"
:
""
,
"product_desc"
:
"{"
logo
":"","
desc
":["
专业代理人精准评估
,
风险共担
","
注册不成功
,
全额退款
","
24
小时拿到官方申请号
"]}"
,
"channel_item_code"
:
"FW_GOODS-581978-1"
,
"channel_item_name"
:
"商标注册【担保申请】"
,
"sort"
:
0
,
"productType_id"
:
2
,
"created_at"
:
"2020-01-07T15:30:34.000Z"
,
"product_id"
:
3
,
"price"
:
1380
,
"supply_price"
:
0
,
"service_charge"
:
0
,
"public_expense"
:
0
,
"channel_profit_rate"
:
0
,
"price_type"
:
"mj"
,
"price_type_name"
:
"每件"
,
"price_desc"
:
""
,
"min_qty"
:
1
,
"max_qty"
:
100
,
"type_id"
:
2
,
"p_id"
:
1
,
"type_code"
:
"sbzc"
,
"type_name"
:
"商标注册"
,
"type_pic"
:
null
,
"type_desc"
:
null
,
"type_icon"
:
null
,
"p_type_id"
:
1
,
"p_type_code"
:
"sbfu"
,
"p_type_name"
:
"商标服务"
,
"p_type_pic"
:
null
,
"p_type_desc"
:
null
,
"p_type_icon"
:
null
}
],
"requestId"
:
"cb12e4a2f91440ab8f0d79b6845298e8"
}
```
## **<a name="getCAProductListByTypeCode"> 产品列表-根据产品二类获取-应用中心</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmOrder/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getCAProductListByTypeCode
```
javascript
{
"typeCode"
:
"sbzc"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:[
{
"id"
:
1
,
"uapp_id"
:
16
,
"path_code"
:
"sbfu/sbzc"
,
"path_name"
:
"商标服务/商标注册"
,
"item_code"
:
"zzsbzc"
,
"item_name"
:
"商标注册【自助申请】"
,
"pic_url"
:
null
,
"product_desc"
:
"{"
logo
":"","
desc
":["
自己检索商标
,
准备官方所需注册材料
","
提交迅速
,
及时反馈
","
全流程跟踪
,
掌握申请进度
"]}"
,
"channel_item_code"
:
"FW_GOODS-581976-1"
,
"channel_item_name"
:
"商标注册【自助申请】"
,
"sort"
:
0
,
"productType_id"
:
2
,
"created_at"
:
"2020-01-07T15:29:57.000Z"
,
"product_id"
:
1
,
"price"
:
300
,
"supply_price"
:
0
,
"service_charge"
:
0
,
"public_expense"
:
0
,
"channel_profit_rate"
:
0
,
"price_type"
:
"mj"
,
"price_type_name"
:
"每件"
,
"price_desc"
:
null
,
"min_qty"
:
1
,
"max_qty"
:
100
,
"type_id"
:
2
,
"p_id"
:
1
,
"type_code"
:
"sbzc"
,
"type_name"
:
"商标注册"
,
"type_pic"
:
null
,
"type_desc"
:
null
,
"type_icon"
:
null
,
"p_type_id"
:
1
,
"p_type_code"
:
"sbfu"
,
"p_type_name"
:
"商标服务"
,
"p_type_pic"
:
null
,
"p_type_desc"
:
null
,
"p_type_icon"
:
null
},
{
"id"
:
2
,
"uapp_id"
:
16
,
"path_code"
:
"sbfu/sbzc"
,
"path_name"
:
"商标服务/商标注册"
,
"item_code"
:
"fzsbzc"
,
"item_name"
:
"商标注册【专家辅助申请】"
,
"pic_url"
:
null
,
"product_desc"
:
"{"
logo
":"","
desc
":["
由专业代理人帮您检索分析
,
成功率高
","
为您优化注册方案
,
全方位保护
","
代理人全流程服务
,
24
小时拿到官方申请号
"]}"
,
"channel_item_code"
:
"FW_GOODS-580010-1"
,
"channel_item_name"
:
"商标注册【专家辅助申请】"
,
"sort"
:
0
,
"productType_id"
:
2
,
"created_at"
:
"2020-01-07T15:30:34.000Z"
,
"product_id"
:
2
,
"price"
:
699
,
"supply_price"
:
0
,
"service_charge"
:
0
,
"public_expense"
:
0
,
"channel_profit_rate"
:
0
,
"price_type"
:
"mj"
,
"price_type_name"
:
"每件"
,
"price_desc"
:
null
,
"min_qty"
:
1
,
"max_qty"
:
100
,
"type_id"
:
2
,
"p_id"
:
1
,
"type_code"
:
"sbzc"
,
"type_name"
:
"商标注册"
,
"type_pic"
:
null
,
"type_desc"
:
null
,
"type_icon"
:
null
,
"p_type_id"
:
1
,
"p_type_code"
:
"sbfu"
,
"p_type_name"
:
"商标服务"
,
"p_type_pic"
:
null
,
"p_type_desc"
:
null
,
"p_type_icon"
:
null
},
{
"id"
:
3
,
"uapp_id"
:
16
,
"path_code"
:
"sbfu/sbzc"
,
"path_name"
:
"商标服务/商标注册"
,
"item_code"
:
"dbsbzc"
,
"item_name"
:
"商标注册【担保申请】"
,
"pic_url"
:
""
,
"product_desc"
:
"{"
logo
":"","
desc
":["
专业代理人精准评估
,
风险共担
","
注册不成功
,
全额退款
","
24
小时拿到官方申请号
"]}"
,
"channel_item_code"
:
"FW_GOODS-581978-1"
,
"channel_item_name"
:
"商标注册【担保申请】"
,
"sort"
:
0
,
"productType_id"
:
2
,
"created_at"
:
"2020-01-07T15:30:34.000Z"
,
"product_id"
:
3
,
"price"
:
1380
,
"supply_price"
:
0
,
"service_charge"
:
0
,
"public_expense"
:
0
,
"channel_profit_rate"
:
0
,
"price_type"
:
"mj"
,
"price_type_name"
:
"每件"
,
"price_desc"
:
""
,
"min_qty"
:
1
,
"max_qty"
:
100
,
"type_id"
:
2
,
"p_id"
:
1
,
"type_code"
:
"sbzc"
,
"type_name"
:
"商标注册"
,
"type_pic"
:
null
,
"type_desc"
:
null
,
"type_icon"
:
null
,
"p_type_id"
:
1
,
"p_type_code"
:
"sbfu"
,
"p_type_name"
:
"商标服务"
,
"p_type_pic"
:
null
,
"p_type_desc"
:
null
,
"p_type_icon"
:
null
}
],
"requestId"
:
"3708d266442a45edbfedaf87d26f6400"
}
```
center-order/app/front/entry/public/apidoc/opTrademark/tmSearch.md
deleted
100644 → 0
View file @
bd7a99dc
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
商标精确检索接口
](
#findTrademarkNameAccurate
)
1.
[
近似商标查询接口
](
#findTrademarkName
)
1.
[
商标申请号查询接口
](
#findTrademarkzchAccurate
)
1.
[
申请人查询接口
](
#findTrademarkzcr
)
1.
[
获取检索图片url
](
#getCropperPic
)
1.
[
图形检索
](
#imagequery
)
1.
[
图形检索查询
](
#findImageSearch
)
1.
[
商标详情查询接口
](
#tradeMarkDetail
)
1.
[
最新商标查询
](
#sbzuixinsearch
)
1.
[
近12期初审公告查询接口
](
#noticequeryTMZCSQ
)
1.
[
公告列表检索接口
](
#noticequery
)
1.
[
注册公告详情查询
](
#noticezcggsearch
)
1.
[
初审公告详情查询接口
](
#noticesearch
)
1.
[
企业查询接口
](
#getCompanyInfoNoUser
)
1.
[
尼斯详情接口
](
#getNclDetail
)
1.
[
获取尼斯群组
](
#gettwoNcl
)
1.
[
尼斯分类检索
](
#nclFuwuSearch
)
1.
[
商标智能分析
](
#bycznfx
)
1.
[
工商核名
](
#icheming
)
1.
[
获取oss配置参数
](
#getOssConfig
)
## **<a name="findTrademarkNameAccurate"> 商标精确检索接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:findTrademarkNameAccurate
```
javascript
{
"tmName"
:
"萌颜"
,
"sqlbtabkey"
:
""
,
"flzttabkey"
:
""
,
"sqnftabkey"
:
""
,
"ncl"
:
[],
"xcl"
:
[],
"nclNum"
:
[],
"pageSize"
:
20
,
"currentPage"
:
1
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
{
"rows"
:
[
{
"sbmc"
:
"萌颜"
,
"sbpy"
:
null
,
"sbyw"
:
null
,
"gjfl"
:
"28"
,
"gjflname"
:
"28类 健身器材"
,
"sbzch"
:
"37208280"
,
"sblx"
:
"普通商标"
,
"sbzt"
:
"申请中"
,
"sqrq"
:
"2019-04-01"
,
"csrq"
:
""
,
"zcrq"
:
""
,
"csggym"
:
null
,
"zcr"
:
"北京联大共享科技有限公司"
,
"jzrq"
:
""
,
"csggqh"
:
""
,
"zcggqh"
:
""
,
"csgg"
:
null
,
"zcgg"
:
null
,
"zcggym"
:
null
,
"yzcr"
:
null
,
"zcdz"
:
"北京市房山区良乡凯旋大街建设路18号-D740"
,
"zcren"
:
null
,
"zcdzen"
:
null
,
"dljg"
:
"北京创知厚德科技有限公司"
,
"zxzt"
:
""
,
"spfwxm"
:
""
,
"lcxx"
:
""
,
"sbqz"
:
"2812,2804,2803,2807,2802,2801"
,
"logo"
:
"http://43.247.184.94:7170/Img/000/372/082/80A/1412d976-0078-47ec-bcd7-8c631dec9ff6.jpg"
}
],
"code_counts"
:
[
{
"key"
:
"3"
,
"keyvalue"
:
"03类 日化用品"
,
"keycount"
:
3
},
{
"key"
:
"9"
,
"keyvalue"
:
"09类 科学仪器"
,
"keycount"
:
3
},
{
"key"
:
"10"
,
"keyvalue"
:
"10类 医疗器械"
,
"keycount"
:
1
},
{
"key"
:
"14"
,
"keyvalue"
:
"14类 珠宝钟表"
,
"keycount"
:
1
},
{
"key"
:
"18"
,
"keyvalue"
:
"18类 皮革皮具"
,
"keycount"
:
3
},
{
"key"
:
"20"
,
"keyvalue"
:
"20类 家具"
,
"keycount"
:
1
},
{
"key"
:
"25"
,
"keyvalue"
:
"25类 服装鞋帽"
,
"keycount"
:
1
},
{
"key"
:
"26"
,
"keyvalue"
:
"26类 钮扣拉链"
,
"keycount"
:
1
},
{
"key"
:
"27"
,
"keyvalue"
:
"27类 地毯席垫"
,
"keycount"
:
2
},
{
"key"
:
"28"
,
"keyvalue"
:
"28类 健身器材"
,
"keycount"
:
1
},
{
"key"
:
"35"
,
"keyvalue"
:
"35类 广告销售"
,
"keycount"
:
1
},
{
"key"
:
"38"
,
"keyvalue"
:
"38类 通讯服务"
,
"keycount"
:
1
},
{
"key"
:
"41"
,
"keyvalue"
:
"41类 教育娱乐"
,
"keycount"
:
1
},
{
"key"
:
"42"
,
"keyvalue"
:
"42类 科技服务"
,
"keycount"
:
2
},
{
"key"
:
"44"
,
"keyvalue"
:
"44类 医疗园艺"
,
"keycount"
:
1
},
{
"key"
:
"45"
,
"keyvalue"
:
"45类 社会服务"
,
"keycount"
:
1
}
],
"status_counts"
:
[
{
"key"
:
1
,
"keyvalue"
:
"申请中"
,
"keycount"
:
3
},
{
"key"
:
3
,
"keyvalue"
:
"已注册"
,
"keycount"
:
16
},
{
"key"
:
4
,
"keyvalue"
:
"已无效"
,
"keycount"
:
5
}
],
"no_code_counts"
:
[
{
"name"
:
"01类 化学原料"
},
{
"name"
:
"02类 颜料油漆"
},
{
"name"
:
"04类 燃料油脂"
},
{
"name"
:
"05类 医药"
},
{
"name"
:
"06类 金属材料"
},
{
"name"
:
"07类 机械设备"
},
{
"name"
:
"08类 手工器械"
},
{
"name"
:
"11类 灯具空调"
},
{
"name"
:
"12类 运输工具"
},
{
"name"
:
"13类 军火烟火"
},
{
"name"
:
"15类 乐器"
},
{
"name"
:
"16类 办公用品"
},
{
"name"
:
"17类 橡胶制品"
},
{
"name"
:
"19类 建筑材料"
},
{
"name"
:
"21类 厨房洁具"
},
{
"name"
:
"22类 绳网袋蓬"
},
{
"name"
:
"23类 纱线丝"
},
{
"name"
:
"24类 布料床单"
},
{
"name"
:
"29类 食品"
},
{
"name"
:
"30类 方便食品"
},
{
"name"
:
"31类 农林生鲜"
},
{
"name"
:
"32类 啤酒饮料"
},
{
"name"
:
"33类 酒"
},
{
"name"
:
"34类 烟草烟具"
},
{
"name"
:
"36类 金融物管"
},
{
"name"
:
"37类 建筑修理"
},
{
"name"
:
"39类 运输贮藏"
},
{
"name"
:
"40类 材料加工"
},
{
"name"
:
"43类 餐饮住宿"
}
],
"year_counts"
:
[
{
"key"
:
2019
,
"keycount"
:
3
},
{
"key"
:
2018
,
"keycount"
:
7
},
{
"key"
:
2017
,
"keycount"
:
8
},
{
"key"
:
2016
,
"keycount"
:
3
},
{
"key"
:
2015
,
"keycount"
:
3
}
],
"count"
:
24
},
"bizmsg"
:
"empty"
}
```
## **<a name="findTrademarkName"> 近似商标查询接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:findTrademarkName
```
javascript
{
"tmName"
:
"萌颜"
,
"sqlbtabkey"
:
""
,
"flzttabkey"
:
""
,
"sqnftabkey"
:
""
,
"ncl"
:
[],
"xcl"
:
[],
"nclNum"
:
[],
"sbtjdata"
:[
"近似"
,
"变字"
,
"拼音"
,
"同义词"
,
"形近字"
,
"换序"
,
"包含该商标"
],
"pageSize"
:
20
,
"currentPage"
:
1
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
{
"rows"
:
[
{
"sbmc"
:
"萌颜"
,
"sbpy"
:
null
,
"sbyw"
:
null
,
"gjfl"
:
"28"
,
"gjflname"
:
"28类 健身器材"
,
"sbzch"
:
"37208280"
,
"sblx"
:
"普通商标"
,
"sbzt"
:
"申请中"
,
"sqrq"
:
"2019-04-01"
,
"csrq"
:
""
,
"zcrq"
:
""
,
"csggym"
:
null
,
"zcr"
:
"北京联大共享科技有限公司"
,
"jzrq"
:
""
,
"csggqh"
:
""
,
"zcggqh"
:
""
,
"csgg"
:
null
,
"zcgg"
:
null
,
"zcggym"
:
null
,
"yzcr"
:
null
,
"zcdz"
:
"北京市房山区良乡凯旋大街建设路18号-D740"
,
"zcren"
:
null
,
"zcdzen"
:
null
,
"dljg"
:
"北京创知厚德科技有限公司"
,
"zxzt"
:
""
,
"spfwxm"
:
""
,
"lcxx"
:
""
,
"sbqz"
:
"2812,2804,2803,2807,2802,2801"
,
"logo"
:
"http://43.247.184.94:7170/Img/000/372/082/80A/1412d976-0078-47ec-bcd7-8c631dec9ff6.jpg"
}
],
"code_counts"
:
[
{
"key"
:
"3"
,
"keyvalue"
:
"03类 日化用品"
,
"keycount"
:
3
},
{
"key"
:
"9"
,
"keyvalue"
:
"09类 科学仪器"
,
"keycount"
:
3
},
{
"key"
:
"10"
,
"keyvalue"
:
"10类 医疗器械"
,
"keycount"
:
1
},
{
"key"
:
"14"
,
"keyvalue"
:
"14类 珠宝钟表"
,
"keycount"
:
1
},
{
"key"
:
"18"
,
"keyvalue"
:
"18类 皮革皮具"
,
"keycount"
:
3
},
{
"key"
:
"20"
,
"keyvalue"
:
"20类 家具"
,
"keycount"
:
1
},
{
"key"
:
"25"
,
"keyvalue"
:
"25类 服装鞋帽"
,
"keycount"
:
1
},
{
"key"
:
"26"
,
"keyvalue"
:
"26类 钮扣拉链"
,
"keycount"
:
1
},
{
"key"
:
"27"
,
"keyvalue"
:
"27类 地毯席垫"
,
"keycount"
:
2
},
{
"key"
:
"28"
,
"keyvalue"
:
"28类 健身器材"
,
"keycount"
:
1
},
{
"key"
:
"35"
,
"keyvalue"
:
"35类 广告销售"
,
"keycount"
:
1
},
{
"key"
:
"38"
,
"keyvalue"
:
"38类 通讯服务"
,
"keycount"
:
1
},
{
"key"
:
"41"
,
"keyvalue"
:
"41类 教育娱乐"
,
"keycount"
:
1
},
{
"key"
:
"42"
,
"keyvalue"
:
"42类 科技服务"
,
"keycount"
:
2
},
{
"key"
:
"44"
,
"keyvalue"
:
"44类 医疗园艺"
,
"keycount"
:
1
},
{
"key"
:
"45"
,
"keyvalue"
:
"45类 社会服务"
,
"keycount"
:
1
}
],
"status_counts"
:
[
{
"key"
:
1
,
"keyvalue"
:
"申请中"
,
"keycount"
:
3
},
{
"key"
:
3
,
"keyvalue"
:
"已注册"
,
"keycount"
:
16
},
{
"key"
:
4
,
"keyvalue"
:
"已无效"
,
"keycount"
:
5
}
],
"no_code_counts"
:
[
{
"name"
:
"01类 化学原料"
},
{
"name"
:
"02类 颜料油漆"
},
{
"name"
:
"04类 燃料油脂"
},
{
"name"
:
"05类 医药"
},
{
"name"
:
"06类 金属材料"
},
{
"name"
:
"07类 机械设备"
},
{
"name"
:
"08类 手工器械"
},
{
"name"
:
"11类 灯具空调"
},
{
"name"
:
"12类 运输工具"
},
{
"name"
:
"13类 军火烟火"
},
{
"name"
:
"15类 乐器"
},
{
"name"
:
"16类 办公用品"
},
{
"name"
:
"17类 橡胶制品"
},
{
"name"
:
"19类 建筑材料"
},
{
"name"
:
"21类 厨房洁具"
},
{
"name"
:
"22类 绳网袋蓬"
},
{
"name"
:
"23类 纱线丝"
},
{
"name"
:
"24类 布料床单"
},
{
"name"
:
"29类 食品"
},
{
"name"
:
"30类 方便食品"
},
{
"name"
:
"31类 农林生鲜"
},
{
"name"
:
"32类 啤酒饮料"
},
{
"name"
:
"33类 酒"
},
{
"name"
:
"34类 烟草烟具"
},
{
"name"
:
"36类 金融物管"
},
{
"name"
:
"37类 建筑修理"
},
{
"name"
:
"39类 运输贮藏"
},
{
"name"
:
"40类 材料加工"
},
{
"name"
:
"43类 餐饮住宿"
}
],
"year_counts"
:
[
{
"key"
:
2019
,
"keycount"
:
3
},
{
"key"
:
2018
,
"keycount"
:
7
},
{
"key"
:
2017
,
"keycount"
:
8
},
{
"key"
:
2016
,
"keycount"
:
3
},
{
"key"
:
2015
,
"keycount"
:
3
}
],
"count"
:
24
},
"bizmsg"
:
"empty"
}
```
## **<a name="findTrademarkzchAccurate"> 商标申请号查询接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:findTrademarkzchAccurate
```
javascript
{
"regNum"
:
"5912089"
,
"sqlbtabkey"
:
""
,
"flzttabkey"
:
""
,
"sqnftabkey"
:
""
,
"xcl"
:
[],
"pageSize"
:
20
,
"currentPage"
:
1
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
{
"rows"
:
[
{
"sbmc"
:
"张三"
,
"sbpy"
:
"zhangsan"
,
"sbyw"
:
null
,
"gjfl"
:
"9"
,
"gjflname"
:
"09类 科学仪器"
,
"sbzch"
:
"5912089"
,
"sblx"
:
"特殊商标"
,
"sbzt"
:
"已注册"
,
"sqrq"
:
"2007-02-12"
,
"csrq"
:
"2009-09-13"
,
"zcrq"
:
"2009-12-13"
,
"csggym"
:
1225
,
"zcr"
:
"魏文道***"
,
"jzrq"
:
"2019-12-13"
,
"csggqh"
:
"第1183期"
,
"zcggqh"
:
"第1195期"
,
"csgg"
:
1183
,
"zcgg"
:
1195
,
"zcggym"
:
125
,
"yzcr"
:
"魏文道441523********5511"
,
"zcdz"
:
"广东省东莞市谢岗镇金海路26号"
,
"zcren"
:
null
,
"zcdzen"
:
null
,
"dljg"
:
"深圳市顺天达专利商标代理有限公司"
,
"zxzt"
:
""
,
"spfwxm"
:
""
,
"lcxx"
:
""
,
"sbqz"
:
"0919"
,
"logo"
:
"http://43.247.184.94:7170/Img/000/059/120/89A/d09d464f-d709-44bb-b635-16a86487e96d.jpg"
}
],
"code_counts"
:
[
{
"key"
:
"9"
,
"keyvalue"
:
"09类 科学仪器"
,
"keycount"
:
1
}
],
"status_counts"
:
[
{
"key"
:
3
,
"keyvalue"
:
"已注册"
,
"keycount"
:
1
}
],
"year_counts"
:
[
{
"key"
:
2007
,
"keycount"
:
1
}
],
"count"
:
1
},
"bizmsg"
:
"empty"
}
```
## **<a name="findTrademarkzcr"> 申请人查询接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:findTrademarkzcr
```
javascript
{
"regMan"
:
"北京联大共享科技"
,
"sqlbtabkey"
:
""
,
"flzttabkey"
:
""
,
"sqnftabkey"
:
""
,
"zcrname"
:
""
,
"xcl"
:
[],
"pageSize"
:
20
,
"currentPage"
:
1
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
{
"rows"
:
[
{
"sbmc"
:
"清仕"
,
"sbpy"
:
null
,
"sbyw"
:
null
,
"gjfl"
:
"21"
,
"gjflname"
:
"21类 厨房洁具"
,
"sbzch"
:
"37560296"
,
"sblx"
:
"普通商标"
,
"sbzt"
:
"申请中"
,
"sqrq"
:
"2019-04-16"
,
"csrq"
:
""
,
"zcrq"
:
""
,
"csggym"
:
null
,
"zcr"
:
"北京联大共享科技有限公司"
,
"jzrq"
:
""
,
"csggqh"
:
""
,
"zcggqh"
:
""
,
"csgg"
:
null
,
"zcgg"
:
null
,
"zcggym"
:
null
,
"yzcr"
:
null
,
"zcdz"
:
"北京市房山区良乡凯旋大街建设路18号-D740"
,
"zcren"
:
null
,
"zcdzen"
:
null
,
"dljg"
:
"北京创知厚德科技有限公司"
,
"zxzt"
:
""
,
"spfwxm"
:
""
,
"lcxx"
:
""
,
"sbqz"
:
"2106,2107,2108,2101,2105,2112,2110,2114"
,
"logo"
:
"http://43.247.184.94:7170/Img/000/375/602/96A/23d3b156-bc42-4413-91cf-55249d165a12.jpg"
}
],
"code_counts"
:
[
{
"key"
:
"3"
,
"keyvalue"
:
"03类 日化用品"
,
"keycount"
:
2
},
{
"key"
:
"9"
,
"keyvalue"
:
"09类 科学仪器"
,
"keycount"
:
8
},
{
"key"
:
"14"
,
"keyvalue"
:
"14类 珠宝钟表"
,
"keycount"
:
1
},
{
"key"
:
"16"
,
"keyvalue"
:
"16类 办公用品"
,
"keycount"
:
3
},
{
"key"
:
"21"
,
"keyvalue"
:
"21类 厨房洁具"
,
"keycount"
:
1
},
{
"key"
:
"25"
,
"keyvalue"
:
"25类 服装鞋帽"
,
"keycount"
:
2
},
{
"key"
:
"26"
,
"keyvalue"
:
"26类 钮扣拉链"
,
"keycount"
:
1
},
{
"key"
:
"28"
,
"keyvalue"
:
"28类 健身器材"
,
"keycount"
:
2
},
{
"key"
:
"29"
,
"keyvalue"
:
"29类 食品"
,
"keycount"
:
1
},
{
"key"
:
"30"
,
"keyvalue"
:
"30类 方便食品"
,
"keycount"
:
2
},
{
"key"
:
"32"
,
"keyvalue"
:
"32类 啤酒饮料"
,
"keycount"
:
1
},
{
"key"
:
"33"
,
"keyvalue"
:
"33类 酒"
,
"keycount"
:
2
},
{
"key"
:
"35"
,
"keyvalue"
:
"35类 广告销售"
,
"keycount"
:
13
},
{
"key"
:
"36"
,
"keyvalue"
:
"36类 金融物管"
,
"keycount"
:
3
},
{
"key"
:
"37"
,
"keyvalue"
:
"37类 建筑修理"
,
"keycount"
:
1
},
{
"key"
:
"38"
,
"keyvalue"
:
"38类 通讯服务"
,
"keycount"
:
2
},
{
"key"
:
"39"
,
"keyvalue"
:
"39类 运输贮藏"
,
"keycount"
:
1
},
{
"key"
:
"41"
,
"keyvalue"
:
"41类 教育娱乐"
,
"keycount"
:
8
},
{
"key"
:
"42"
,
"keyvalue"
:
"42类 科技服务"
,
"keycount"
:
7
},
{
"key"
:
"43"
,
"keyvalue"
:
"43类 餐饮住宿"
,
"keycount"
:
5
},
{
"key"
:
"44"
,
"keyvalue"
:
"44类 医疗园艺"
,
"keycount"
:
5
},
{
"key"
:
"45"
,
"keyvalue"
:
"45类 社会服务"
,
"keycount"
:
2
}
],
"status_counts"
:
[
{
"key"
:
1
,
"keyvalue"
:
"申请中"
,
"keycount"
:
13
},
{
"key"
:
2
,
"keyvalue"
:
"已初审"
,
"keycount"
:
3
},
{
"key"
:
3
,
"keyvalue"
:
"已注册"
,
"keycount"
:
51
},
{
"key"
:
4
,
"keyvalue"
:
"已无效"
,
"keycount"
:
6
}
],
"no_code_counts"
:
[
{
"name"
:
"01类 化学原料"
},
{
"name"
:
"02类 颜料油漆"
},
{
"name"
:
"04类 燃料油脂"
},
{
"name"
:
"05类 医药"
},
{
"name"
:
"06类 金属材料"
},
{
"name"
:
"07类 机械设备"
},
{
"name"
:
"08类 手工器械"
},
{
"name"
:
"10类 医疗器械"
},
{
"name"
:
"11类 灯具空调"
},
{
"name"
:
"12类 运输工具"
},
{
"name"
:
"13类 军火烟火"
},
{
"name"
:
"15类 乐器"
},
{
"name"
:
"17类 橡胶制品"
},
{
"name"
:
"18类 皮革皮具"
},
{
"name"
:
"19类 建筑材料"
},
{
"name"
:
"20类 家具"
},
{
"name"
:
"22类 绳网袋蓬"
},
{
"name"
:
"23类 纱线丝"
},
{
"name"
:
"24类 布料床单"
},
{
"name"
:
"27类 地毯席垫"
},
{
"name"
:
"31类 农林生鲜"
},
{
"name"
:
"34类 烟草烟具"
},
{
"name"
:
"40类 材料加工"
}
],
"year_counts"
:
[
{
"key"
:
2019
,
"keycount"
:
13
},
{
"key"
:
2018
,
"keycount"
:
34
},
{
"key"
:
2017
,
"keycount"
:
11
},
{
"key"
:
2016
,
"keycount"
:
9
},
{
"key"
:
2015
,
"keycount"
:
6
}
],
"namecounts"
:
[
{
"key"
:
"北京联大共享科技有限公司"
,
"keycount"
:
73
}
],
"count"
:
73
},
"bizmsg"
:
"empty"
}
```
## **<a name="getCropperPic"> 获取检索图片url</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getCropperPic
```
javascript
{
"base64"
:
" data:image/png;base64,iVBORw0KGg……OlzAAAAAASUVORK5CYII="
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
null
,
"data"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_cropper1571040784636MfaveZ.jpg"
,
"requestId"
:
"05f121fed33f4009a1f4e5e2605a9c48"
}
```
## **<a name="imagequery"> 图形检索</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:imagequery
```
javascript
{
"imageUrl"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/zc_cropper1570763366176QIe0i9.jpg"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"rows"
:[
{
"distance"
:
0.267
,
"imageid"
:
"17116404"
},
{
"distance"
:
0.268
,
"imageid"
:
"29245996"
},
{
"distance"
:
0.268
,
"imageid"
:
"29246011"
},
{
"distance"
:
0.272
,
"imageid"
:
"38183382"
},
{
"distance"
:
0.272
,
"imageid"
:
"38188460"
},
{
"distance"
:
0.273
,
"imageid"
:
"361846"
},
{
"distance"
:
0.275
,
"imageid"
:
"25908176"
},
{
"distance"
:
0.278
,
"imageid"
:
"27683726"
},
{
"distance"
:
0.278
,
"imageid"
:
"36341625"
},
{
"distance"
:
0.279
,
"imageid"
:
"704220"
},
{
"distance"
:
0.28
,
"imageid"
:
"1548425"
},
{
"distance"
:
0.347
,
"imageid"
:
"38590434"
},
{
"distance"
:
0.347
,
"imageid"
:
"37075949"
},
{
"distance"
:
0.347
,
"imageid"
:
"36516713"
},
{
"distance"
:
0.347
,
"imageid"
:
"36914643"
},
{
"distance"
:
0.347
,
"imageid"
:
"39416042"
},
{
"distance"
:
0.347
,
"imageid"
:
"39435190"
},
{
"distance"
:
0.347
,
"imageid"
:
"39057196"
},
{
"distance"
:
0.347
,
"imageid"
:
"38110954"
},
{
"distance"
:
0.347
,
"imageid"
:
"38118185"
},
{
"distance"
:
0.347
,
"imageid"
:
"38666295"
},
{
"distance"
:
0.347
,
"imageid"
:
"37533627"
},
{
"distance"
:
0.347
,
"imageid"
:
"38597660"
},
{
"distance"
:
0.347
,
"imageid"
:
"38895520"
},
{
"distance"
:
0.347
,
"imageid"
:
"39683224"
},
{
"distance"
:
0.347
,
"imageid"
:
"39690062"
},
{
"distance"
:
0.347
,
"imageid"
:
"38078013"
},
{
"distance"
:
0.347
,
"imageid"
:
"36281728"
},
{
"distance"
:
0.348
,
"imageid"
:
"36274731"
},
{
"distance"
:
0.348
,
"imageid"
:
"36286481"
}
],
"code_counts"
:[
{
"key"
:
"1"
,
"keyvalue"
:
"01类 化学原料"
,
"keycount"
:
27
},
{
"key"
:
"2"
,
"keyvalue"
:
"02类 颜料油漆"
,
"keycount"
:
18
},
{
"key"
:
"3"
,
"keyvalue"
:
"03类 日化用品"
,
"keycount"
:
34
},
{
"key"
:
"4"
,
"keyvalue"
:
"04类 燃料油脂"
,
"keycount"
:
7
},
{
"key"
:
"5"
,
"keyvalue"
:
"05类 医药"
,
"keycount"
:
36
},
{
"key"
:
"6"
,
"keyvalue"
:
"06类 金属材料"
,
"keycount"
:
29
},
{
"key"
:
"7"
,
"keyvalue"
:
"07类 机械设备"
,
"keycount"
:
41
},
{
"key"
:
"8"
,
"keyvalue"
:
"08类 手工器械"
,
"keycount"
:
12
},
{
"key"
:
"9"
,
"keyvalue"
:
"09类 科学仪器"
,
"keycount"
:
160
},
{
"key"
:
"10"
,
"keyvalue"
:
"10类 医疗器械"
,
"keycount"
:
25
},
{
"key"
:
"11"
,
"keyvalue"
:
"11类 灯具空调"
,
"keycount"
:
41
},
{
"key"
:
"12"
,
"keyvalue"
:
"12类 运输工具"
,
"keycount"
:
26
},
{
"key"
:
"13"
,
"keyvalue"
:
"13类 军火烟火"
,
"keycount"
:
2
},
{
"key"
:
"14"
,
"keyvalue"
:
"14类 珠宝钟表"
,
"keycount"
:
16
},
{
"key"
:
"15"
,
"keyvalue"
:
"15类 乐器"
,
"keycount"
:
2
},
{
"key"
:
"16"
,
"keyvalue"
:
"16类 办公用品"
,
"keycount"
:
47
},
{
"key"
:
"17"
,
"keyvalue"
:
"17类 橡胶制品"
,
"keycount"
:
10
},
{
"key"
:
"18"
,
"keyvalue"
:
"18类 皮革皮具"
,
"keycount"
:
23
},
{
"key"
:
"19"
,
"keyvalue"
:
"19类 建筑材料"
,
"keycount"
:
10
},
{
"key"
:
"20"
,
"keyvalue"
:
"20类 家具"
,
"keycount"
:
24
},
{
"key"
:
"21"
,
"keyvalue"
:
"21类 厨房洁具"
,
"keycount"
:
17
},
{
"key"
:
"22"
,
"keyvalue"
:
"22类 绳网袋蓬"
,
"keycount"
:
5
},
{
"key"
:
"23"
,
"keyvalue"
:
"23类 纱线丝"
,
"keycount"
:
5
},
{
"key"
:
"24"
,
"keyvalue"
:
"24类 布料床单"
,
"keycount"
:
19
},
{
"key"
:
"25"
,
"keyvalue"
:
"25类 服装鞋帽"
,
"keycount"
:
90
},
{
"key"
:
"26"
,
"keyvalue"
:
"26类 钮扣拉链"
,
"keycount"
:
10
},
{
"key"
:
"27"
,
"keyvalue"
:
"27类 地毯席垫"
,
"keycount"
:
8
},
{
"key"
:
"28"
,
"keyvalue"
:
"28类 健身器材"
,
"keycount"
:
23
},
{
"key"
:
"29"
,
"keyvalue"
:
"29类 食品"
,
"keycount"
:
27
},
{
"key"
:
"30"
,
"keyvalue"
:
"30类 方便食品"
,
"keycount"
:
27
},
{
"key"
:
"31"
,
"keyvalue"
:
"31类 农林生鲜"
,
"keycount"
:
14
},
{
"key"
:
"32"
,
"keyvalue"
:
"32类 啤酒饮料"
,
"keycount"
:
16
},
{
"key"
:
"33"
,
"keyvalue"
:
"33类 酒"
,
"keycount"
:
11
},
{
"key"
:
"34"
,
"keyvalue"
:
"34类 烟草烟具"
,
"keycount"
:
5
},
{
"key"
:
"35"
,
"keyvalue"
:
"35类 广告销售"
,
"keycount"
:
161
},
{
"key"
:
"36"
,
"keyvalue"
:
"36类 金融物管"
,
"keycount"
:
30
},
{
"key"
:
"37"
,
"keyvalue"
:
"37类 建筑修理"
,
"keycount"
:
27
},
{
"key"
:
"38"
,
"keyvalue"
:
"38类 通讯服务"
,
"keycount"
:
31
},
{
"key"
:
"39"
,
"keyvalue"
:
"39类 运输贮藏"
,
"keycount"
:
23
},
{
"key"
:
"40"
,
"keyvalue"
:
"40类 材料加工"
,
"keycount"
:
14
},
{
"key"
:
"41"
,
"keyvalue"
:
"41类 教育娱乐"
,
"keycount"
:
63
},
{
"key"
:
"42"
,
"keyvalue"
:
"42类 科技服务"
,
"keycount"
:
104
},
{
"key"
:
"43"
,
"keyvalue"
:
"43类 餐饮住宿"
,
"keycount"
:
12
},
{
"key"
:
"44"
,
"keyvalue"
:
"44类 医疗园艺"
,
"keycount"
:
21
},
{
"key"
:
"45"
,
"keyvalue"
:
"45类 社会服务"
,
"keycount"
:
20
}
],
"status_counts"
:[
{
"key"
:
1
,
"keyvalue"
:
"申请中"
,
"keycount"
:
332
},
{
"key"
:
2
,
"keyvalue"
:
"已初审"
,
"keycount"
:
72
},
{
"key"
:
3
,
"keyvalue"
:
"已注册"
,
"keycount"
:
487
},
{
"key"
:
4
,
"keyvalue"
:
"已无效"
,
"keycount"
:
469
},
{
"key"
:
5
,
"keyvalue"
:
"其他"
,
"keycount"
:
3
}
],
"year_counts"
:[
{
"key"
:
2019
,
"keycount"
:
320
},
{
"key"
:
2018
,
"keycount"
:
235
},
{
"key"
:
2017
,
"keycount"
:
142
},
{
"key"
:
2016
,
"keycount"
:
55
},
{
"key"
:
2015
,
"keycount"
:
67
},
{
"key"
:
2014
,
"keycount"
:
75
},
{
"key"
:
2013
,
"keycount"
:
49
},
{
"key"
:
2012
,
"keycount"
:
33
},
{
"key"
:
2011
,
"keycount"
:
19
},
{
"key"
:
2010
,
"keycount"
:
10
},
{
"key"
:
2009
,
"keycount"
:
12
},
{
"key"
:
2008
,
"keycount"
:
5
},
{
"key"
:
2007
,
"keycount"
:
5
},
{
"key"
:
2006
,
"keycount"
:
17
},
{
"key"
:
2005
,
"keycount"
:
13
},
{
"key"
:
2004
,
"keycount"
:
4
},
{
"key"
:
2002
,
"keycount"
:
6
},
{
"key"
:
2001
,
"keycount"
:
6
},
{
"key"
:
2000
,
"keycount"
:
53
},
{
"key"
:
1999
,
"keycount"
:
43
},
{
"key"
:
1998
,
"keycount"
:
12
},
{
"key"
:
1997
,
"keycount"
:
2
},
{
"key"
:
1996
,
"keycount"
:
9
},
{
"key"
:
1995
,
"keycount"
:
16
},
{
"key"
:
1994
,
"keycount"
:
17
},
{
"key"
:
1993
,
"keycount"
:
14
},
{
"key"
:
1992
,
"keycount"
:
18
},
{
"key"
:
1991
,
"keycount"
:
12
},
{
"key"
:
1990
,
"keycount"
:
24
},
{
"key"
:
1989
,
"keycount"
:
14
},
{
"key"
:
1988
,
"keycount"
:
14
},
{
"key"
:
1987
,
"keycount"
:
4
},
{
"key"
:
1986
,
"keycount"
:
4
},
{
"key"
:
1985
,
"keycount"
:
8
},
{
"key"
:
1984
,
"keycount"
:
1
},
{
"key"
:
1979
,
"keycount"
:
1
},
{
"key"
:
1958
,
"keycount"
:
1
}
],
"count"
:
1198
},
"bizmsg"
:
"empty"
,
"requestId"
:
"946b1ac884224987b22739235bf0daf9"
}
```
## **<a name="findImageSearch"> 图形检索查询</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:findImageSearch
```
javascript
{
"flzttabkey"
:
3
,
"pageInfo"
:
{
"pageSize"
:
36
,
"pageNo"
:
1
},
"sqlbtabkey"
:
"1"
,
"sqnftabkey"
:
"2018"
,
"xcl"
:
[],
"tmRegistNumsAll"
:[
{
"distance"
:
0.278
,
"imageid"
:
"36341625"
},
{
"distance"
:
0.279
,
"imageid"
:
"704220"
},{
"distance"
:
0.28
,
"imageid"
:
"1548425"
},
{
"distance"
:
0.28
,
"imageid"
:
"36876469"
},{
"distance"
:
0.28
,
"imageid"
:
"36875903"
},
{
"distance"
:
0.281
,
"imageid"
:
"33662215"
},{
"distance"
:
0.281
,
"imageid"
:
"33670346"
},
{
"distance"
:
0.282
,
"imageid"
:
"515429"
},{
"distance"
:
0.283
,
"imageid"
:
"25620072"
},
{
"distance"
:
0.284
,
"imageid"
:
"1639431"
},{
"distance"
:
0.284
,
"imageid"
:
"529431"
},
{
"distance"
:
0.285
,
"imageid"
:
"33659963"
},{
"distance"
:
0.285
,
"imageid"
:
"33660039"
}
……
.
]
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"rows"
:[
{
"sbmc"
:
"图形"
,
"sbpy"
:
"tuxing"
,
"sbyw"
:
null
,
"gjfl"
:
"1"
,
"gjflname"
:
"01类 化学原料"
,
"sbzch"
:
"33659963"
,
"sblx"
:
"普通商标"
,
"sbzt"
:
"已注册"
,
"sqrq"
:
"2018-09-21"
,
"csrq"
:
"2019-03-20"
,
"zcrq"
:
"2019-06-20"
,
"csggym"
:
86369
,
"zcr"
:
"联测科技(广州)有限公司"
,
"jzrq"
:
"2029-06-20"
,
"csggqh"
:
"第1640期"
,
"zcggqh"
:
"第1652期"
,
"csgg"
:
1640
,
"zcgg"
:
1652
,
"zcggym"
:
28530
,
"yzcr"
:
"联测科技(广州)有限公司"
,
"zcdz"
:
"广东省广州市天河区金穗路1号1704-A房(仅限办公用途)"
,
"zcren"
:
null
,
"zcdzen"
:
null
,
"dljg"
:
"深圳市海睿杰知识产权代理有限公司"
,
"zxzt"
:
""
,
"spfwxm"
:
""
,
"lcxx"
:
""
,
"logo"
:
"http://43.247.184.94:7170/Img/000/336/599/63A/99aa881e-f256-4eec-8495-d9efa42f7b78.jpg"
}
],
"code_counts"
:[
{
"key"
:
"1"
,
"keyvalue"
:
"01类 化学原料"
,
"keycount"
:
1
},
{
"key"
:
"41"
,
"keyvalue"
:
"41类 教育娱乐"
,
"keycount"
:
1
},
{
"key"
:
"45"
,
"keyvalue"
:
"45类 社会服务"
,
"keycount"
:
1
}
],
"status_counts"
:[
{
"key"
:
3
,
"keyvalue"
:
"已注册"
,
"keycount"
:
1
}
],
"year_counts"
:[
{
"key"
:
2018
,
"keycount"
:
1
}
],
"count"
:
1
},
"bizmsg"
:
"empty"
,
"requestId"
:
"4cf8f88a180f45ddbb2f04e6d2e41a86"
}
```
## **<a name="tradeMarkDetail"> 商标详情查询接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:tradeMarkDetail
```
javascript
{
"sbzch"
:
"5912089"
,
"gjfl"
:
"9"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
{
"detaildata"
:
[
{
"sbmc"
:
"张三"
,
"sbpy"
:
"zhangsan"
,
"sbyw"
:
null
,
"gjfl"
:
"9"
,
"gjflname"
:
"09类 科学仪器"
,
"sbzch"
:
"5912089"
,
"sblx"
:
"特殊商标"
,
"sbzt"
:
"已注册"
,
"sqrq"
:
"2007-02-12"
,
"csrq"
:
"2009-09-13"
,
"zcrq"
:
"2009-12-13"
,
"csggym"
:
1225
,
"zcr"
:
"魏文道***"
,
"jzrq"
:
"2019-12-13"
,
"csggqh"
:
"第1183期"
,
"zcggqh"
:
"第1195期"
,
"csgg"
:
1183
,
"zcgg"
:
1195
,
"zcggym"
:
125
,
"yzcr"
:
"魏文道441523********5511"
,
"zcdz"
:
"广东省东莞市谢岗镇金海路26号"
,
"zcren"
:
null
,
"zcdzen"
:
null
,
"dljg"
:
"深圳市顺天达专利商标代理有限公司"
,
"lcxx"
:
[
{
"name"
:
"2009-12-13 商标注册公告(一)"
,
"link_url"
:
"http://sbggwj.saic.gov.cn:8000/tmann/group2/M00/4E/77/yBQCIFmHa3uAdCd8AAGF02_13jc221.jpg"
},
{
"name"
:
"2009-09-13 商标初步审定公告"
,
"link_url"
:
"http://sbggwj.saic.gov.cn:8000/tmann/group1/M00/1C/37/yBQCH1mEncuATZuCAAGr0Zq3puQ048.jpg"
}
],
"logo"
:
"http://43.247.184.94:7170/Img/000/059/120/89A/d09d464f-d709-44bb-b635-16a86487e96d.jpg"
}
],
"nclexist"
:
[
{
"code"
:
"0919"
,
"small_name"
:
"耳塞"
},
{
"code"
:
"0919"
,
"small_name"
:
"防事故用手套"
},
{
"code"
:
"0919"
,
"small_name"
:
"防毒面具(非人工呼吸用)"
},
{
"code"
:
"0919"
,
"small_name"
:
"防事故、防辐射、防火用鞋"
},
{
"code"
:
"0919"
,
"small_name"
:
"耐酸衣、裙"
},
{
"code"
:
"0919"
,
"small_name"
:
"护目镜"
},
{
"code"
:
"0919"
,
"small_name"
:
"呼吸面具过滤器"
},
{
"code"
:
"0919"
,
"small_name"
:
"防水衣"
},
{
"code"
:
"0919"
,
"small_name"
:
"耐酸胶鞋"
},
{
"code"
:
"0919"
,
"small_name"
:
"耐酸手套"
}
],
"nclnotexist"
:
[
{
"code"
:
"0912"
,
"level"
:
2
,
"name"
:
"光电传输材料"
,
"pid"
:
"09"
},
{
"code"
:
"0901"
,
"level"
:
2
,
"name"
:
"电子计算机及其外部设备"
,
"pid"
:
"09"
},
{
"code"
:
"0913"
,
"level"
:
2
,
"name"
:
"电器用晶体及碳素材料,电子、电气通用元件"
,
"pid"
:
"09"
},
{
"code"
:
"0903"
,
"level"
:
2
,
"name"
:
"其他办公用机械(不包括打字机、誊写机、油印机)"
,
"pid"
:
"09"
},
{
"code"
:
"0902"
,
"level"
:
2
,
"name"
:
"记录、记数检测器"
,
"pid"
:
"09"
},
{
"code"
:
"0914"
,
"level"
:
2
,
"name"
:
"电器成套设备及控制装置"
,
"pid"
:
"09"
},
{
"code"
:
"0906"
,
"level"
:
2
,
"name"
:
"信号器具"
,
"pid"
:
"09"
},
{
"code"
:
"0904"
,
"level"
:
2
,
"name"
:
"衡器"
,
"pid"
:
"09"
},
{
"code"
:
"0905"
,
"level"
:
2
,
"name"
:
"量具"
,
"pid"
:
"09"
},
{
"code"
:
"0916"
,
"level"
:
2
,
"name"
:
"灭火器具"
,
"pid"
:
"09"
},
{
"code"
:
"0910"
,
"level"
:
2
,
"name"
:
"测量仪器仪表,实验室用器具,电测量仪器,科学仪器"
,
"pid"
:
"09"
},
{
"code"
:
"0909"
,
"level"
:
2
,
"name"
:
"摄影、电影用具及仪器"
,
"pid"
:
"09"
},
{
"code"
:
"0908"
,
"level"
:
2
,
"name"
:
"音像设备"
,
"pid"
:
"09"
},
{
"code"
:
"0907"
,
"level"
:
2
,
"name"
:
"通信导航设备"
,
"pid"
:
"09"
},
{
"code"
:
"0911"
,
"level"
:
2
,
"name"
:
"光学仪器"
,
"pid"
:
"09"
},
{
"code"
:
"0915"
,
"level"
:
2
,
"name"
:
"电解装置"
,
"pid"
:
"09"
},
{
"code"
:
"0918"
,
"level"
:
2
,
"name"
:
"工业用X光机械设备"
,
"pid"
:
"09"
},
{
"code"
:
"0920"
,
"level"
:
2
,
"name"
:
"警报装置,电铃"
,
"pid"
:
"09"
},
{
"code"
:
"0921"
,
"level"
:
2
,
"name"
:
"眼镜及附件"
,
"pid"
:
"09"
},
{
"code"
:
"0922"
,
"level"
:
2
,
"name"
:
"电池,充电器"
,
"pid"
:
"09"
},
{
"code"
:
"0923"
,
"level"
:
2
,
"name"
:
"电影片,已曝光材料"
,
"pid"
:
"09"
},
{
"code"
:
"0924"
,
"level"
:
2
,
"name"
:
"单一商品"
,
"pid"
:
"09"
}
]
},
"bizmsg"
:
"empty"
}
```
## **<a name="sbzuixinsearch"> 最新商标查询</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:sbzuixinsearch
```
javascript
{}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"zuixinshouli"
:
"2019-08-30"
,
"zuixinchushen"
:
"2019-04-30"
,
"zuixinxiazheng"
:
"2019-02-13"
},
"bizmsg"
:
"empty"
,
"requestId"
:
"d483ffa51bcf49de9e10eec53744a2cc"
}
```
## **<a name="noticequeryTMZCSQ"> 近12期初审公告查询接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:noticequeryTMZCSQ
```
javascript
{
"noticetype"
:
"TMZCSQ"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
{
"rows"
:
[
{
"notice_issue"
:
1658
,
"date"
:
"2019-08-06"
,
"enddate"
:
"2019-11-06"
,
"lastday"
:
"剩余84天"
},
{
"notice_issue"
:
1657
,
"date"
:
"2019-07-27"
,
"enddate"
:
"2019-10-27"
,
"lastday"
:
"剩余74天"
},
{
"notice_issue"
:
1656
,
"date"
:
"2019-07-20"
,
"enddate"
:
"2019-10-20"
,
"lastday"
:
"剩余67天"
},
{
"notice_issue"
:
1655
,
"date"
:
"2019-07-13"
,
"enddate"
:
"2019-10-13"
,
"lastday"
:
"剩余60天"
},
{
"notice_issue"
:
1654
,
"date"
:
"2019-07-06"
,
"enddate"
:
"2019-10-06"
,
"lastday"
:
"剩余53天"
},
{
"notice_issue"
:
1653
,
"date"
:
"2019-06-27"
,
"enddate"
:
"2019-09-27"
,
"lastday"
:
"剩余44天"
},
{
"notice_issue"
:
1652
,
"date"
:
"2019-06-20"
,
"enddate"
:
"2019-09-20"
,
"lastday"
:
"剩余37天"
},
{
"notice_issue"
:
1651
,
"date"
:
"2019-06-13"
,
"enddate"
:
"2019-09-13"
,
"lastday"
:
"剩余30天"
},
{
"notice_issue"
:
1650
,
"date"
:
"2019-06-06"
,
"enddate"
:
"2019-09-06"
,
"lastday"
:
"剩余23天"
},
{
"notice_issue"
:
1649
,
"date"
:
"2019-05-27"
,
"enddate"
:
"2019-08-27"
,
"lastday"
:
"剩余13天"
},
{
"notice_issue"
:
1648
,
"date"
:
"2019-05-20"
,
"enddate"
:
"2019-08-20"
,
"lastday"
:
"剩余6天"
},
{
"notice_issue"
:
1647
,
"date"
:
"2019-05-13"
,
"enddate"
:
"2019-08-13"
,
"lastday"
:
"已过期0天"
}
],
"selectdata"
:
[
{
"value"
:
1658
,
"label"
:
"1658 (2019-08-06)"
},
{
"value"
:
1657
,
"label"
:
"1657 (2019-07-27)"
},
{
"value"
:
1656
,
"label"
:
"1656 (2019-07-20)"
},
{
"value"
:
1655
,
"label"
:
"1655 (2019-07-13)"
},
{
"value"
:
1654
,
"label"
:
"1654 (2019-07-06)"
},
{
"value"
:
1653
,
"label"
:
"1653 (2019-06-27)"
},
{
"value"
:
1652
,
"label"
:
"1652 (2019-06-20)"
},
{
"value"
:
1651
,
"label"
:
"1651 (2019-06-13)"
},
{
"value"
:
1650
,
"label"
:
"1650 (2019-06-06)"
},
{
"value"
:
1649
,
"label"
:
"1649 (2019-05-27)"
},
{
"value"
:
1648
,
"label"
:
"1648 (2019-05-20)"
},
{
"value"
:
1647
,
"label"
:
"1647 (2019-05-13)"
}
]
},
"bizmsg"
:
"empty"
}
```
## **<a name="noticequery"> 公告列表检索接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:noticequery
```
javascript
{
"noticenumber"
:
"1656"
,
"applynumber"
:
""
,
"tmname"
:
"大爱城控股"
,
"applier"
:
""
,
"noticetype"
:
"TMZCSQ"
,
"nclNum"
:
"all"
,
"pageSize"
:
20
,
"currentPage"
:
1
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
{
"rows"
:
[
{
"sbmc"
:
"大爱城控股"
,
"sbzch"
:
"33640627"
,
"sblb"
:
"5 "
,
"zcr"
:
"大爱城投资控股有限公司"
,
"ggqh"
:
"1656(2019-07-20)"
,
"pagenumber"
:
3377
,
"gglx"
:
"商标初步审定公告"
,
"linkurl"
:
"http://sbggwj.saic.gov.cn:8000/tmann/group2/M00/AF/51/yBQCIF0xPSiAcUBOAAIB3iqAYk8063.jpg"
,
"logo"
:
"http://43.247.184.94:7170/Img/000/336/406/27A/6bb6ac4d-05d1-4966-ab31-7672a8b6e81b.jpg"
},
{
"sbmc"
:
"大爱城控股"
,
"sbzch"
:
"33645726"
,
"sblb"
:
"31 "
,
"zcr"
:
"大爱城投资控股有限公司"
,
"ggqh"
:
"1656(2019-07-20)"
,
"pagenumber"
:
3387
,
"gglx"
:
"商标初步审定公告"
,
"linkurl"
:
"http://sbggwj.saic.gov.cn:8000/tmann/group2/M00/AF/C8/yBQCIF0xRbOANqhzAAHvQXVINL4846.jpg"
,
"logo"
:
"http://43.247.184.94:7170/Img/000/336/457/26A/821d2f6c-eacc-4da0-b182-bb2c5619ec5c.jpg"
},
{
"sbmc"
:
"大爱城控股"
,
"sbzch"
:
"33632043"
,
"sblb"
:
"42 "
,
"zcr"
:
"大爱城投资控股有限公司"
,
"ggqh"
:
"1656(2019-07-20)"
,
"pagenumber"
:
3343
,
"gglx"
:
"商标初步审定公告"
,
"linkurl"
:
"http://sbggwj.saic.gov.cn:8000/tmann/group1/M00/B9/7A/yBQCH10xWPeAQ7GaAAIOqwfWFrk415.jpg"
,
"logo"
:
"http://43.247.184.94:7170/Img/000/336/320/43A/ce0870b9-7f07-46c0-8da6-c21fd8428d1c.jpg"
}
],
"count"
:
3
},
"bizmsg"
:
"empty"
}
```
## **<a name="noticezcggsearch"> 注册公告详情查询</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:noticezcggsearch
```
javascript
{
"sbzch"
:
"T123"
,
"zcggqh"
:
607
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"sbmc"
:
null
,
"linkurl"
:
"http://sbggwj.saic.gov.cn:8000/tmann/group2/M00/33/9F/yBQCIFmGf7WAS11IAAGcUnMc7Sg980.jpg"
},
"bizmsg"
:
"empty"
,
"requestId"
:
"2201093d08824e53b06b9cb3ce912087"
}
```
## **<a name="noticesearch"> 初审公告详情查询接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:noticesearch
```
javascript
{
"csggqh"
:
1663
,
"sbzch"
:
"36280736"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"sbmc"
:
"啊"
,
"linkurl"
:
"http://sbggwj.saic.gov.cn:8000/tmann/group2/M00/CF/54/yBQCIF153tCAJBgAAAH97QxWZag867.jpg"
},
"bizmsg"
:
"empty"
,
"requestId"
:
"f33c987535ed4803955b9f18668e8454"
}
```
## **<a name="getCompanyInfoNoUser"> 企业查询接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getCompanyInfoNoUser
```
javascript
{
"company_name"
:
"兰庭茁华河北农业开发有限公司"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
null
,
"data"
:{
"name"
:
"兰庭茁华河北农业开发有限公司"
,
"legalRepresentative"
:
"许桂秋"
,
"managementState"
:
"存续"
,
"registeredCapital"
:
"300.000万人民币"
,
"foundedTime"
:
"2018-4-24"
,
"creditCode"
:
"91130533MA0A294667"
,
"registrID"
:
"130533000046096"
,
"organizationCode"
:
"MA0A29466"
,
"companyType"
:
"0"
,
"registerOffice"
:
"威县市场监督管理局"
,
"businessAddress"
:
"河北省邢台市威县第什营镇南草厂村"
,
"scope"
:
"农业种植、新能源技术研发、技术推广;农作物、果树、中药材种植;农产品、水果销售;花卉种植、销售;林木育苗;牲畜、家禽饲养、销售;观光果园管理服务;在资质等级许可的范围内从事园林绿化工程;农用机械、有机肥销售。(依法须经批准的项目,经相关部门批准后方可开展经营活动)"
,
"dateIssue"
:
"2018-4-24"
,
"businessTerm"
:
"2018-4-24至1970-1-1"
},
"requestId"
:
"b2c49be10b154ca896b73505f3fe8b6a"
}
```
## **<a name="getNclDetail"> 尼斯详情接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getNclDetail
```
javascript
{
"number"
:
"2"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"classification"
:
"第02类-"
,
"construction"
:
"颜料,清漆,漆;防锈剂和木材防腐剂;着色剂,染料;印刷、标记和雕刻用油墨;未加工的天然树脂;绘画、装饰、印刷和艺术用金属箔及金属粉。"
,
"data"
:[
{
"smallclassification"
:
"0201 染料,媒染剂(不包括食用)"
,
"content"
:
"皮革染色剂020057,鞋染料020041,木材媒染剂020027,染料木提取物(染料)020112,黄桑(染料)020074,苯胺染料020052,染料木020111,藏红染料020099,靛青(染料)020086,染色剂020047,复活节彩蛋用染色纸020096,姜黄(染料)020060,染料020058,媒染剂020002,制革用媒染剂020057,着色剂020047,木材染色剂020028,茜素染料020006,"
,
"xinzeng"
:
"硫化染料,醇溶性染料,制油漆用着色剂,苏木提取物(染料),酸性染料,天然染料,混凝土着色剂,用作染料的姜黄,文身染料,合成染料,油溶性染料,造纸用着色剂,地板用染色剂,快速染料,普鲁士蓝,碱性染料(阳离子染料),制模塑料用着色剂,制药用着色剂,塑料用染料,萘酚染料,群青染料,纺织品用着色剂,荧光增白剂(染料),合成树脂染料,靛青,直接染料,还原染料,木材染料,"
},
{
"smallclassification"
:
"0202 颜料(不包括食用、绝缘用),绘画、装饰、印刷和艺术用金属箔及金属粉"
,
"content"
:
"色母粒C020001,家具修复用补色笔020130,艺术用油彩020127,二氧化钛(颜料)020106,烟灰色(颜料)020101,绘画、装饰、印刷和艺术用金属箔020092,绘画、装饰、印刷和艺术用金属粉020090,铅黄020089,氧化锌(颜料)020081,绘画用藤黄020076,灯黑(颜料)020073,铅白020038,赭石土(颜料)020029,胭脂树橙(颜料)020098,胭脂虫红020045,氧化钴(颜料)020044,银乳剂(颜料)020015,艺术用水彩020126,铅红020095,红丹020095,炭黑(颜料)020039,立德粉(锌钡白)C020014,黄丹020089,颜料020059,绘画用青铜粉020032,水彩固定剂020011,石棉颜料020009,着色剂020047,金胺020018,绘画用铝粉020008,"
,
"xinzeng"
:
"红丹(铅红),茜红,绘画、装饰、印刷和艺术用贵金属粉,绘画、装饰、印刷和艺术用贵金属箔,朱砂红,画家、装饰家、印刷商和艺术家用铅箔,彩色颜料,纺织纤维颜料,制墨用颜料,画家、装饰家、印刷商和艺术家用有色金属箔,艺术家用颜料,无机颜料,画家、装饰家、印刷商和艺术家用铅合金粉末,画家、装饰家、印刷商和艺术家用金属粉,群青(颜料),画家、装饰家、印刷商和艺术家用铅粉,水彩颜料,化学防护颜料,钛白,画家、装饰家、印刷商和艺术家用有色金属粉,有机颜料,画家、装饰家、印刷商和艺术家用有色金属粉末,画家、装饰家、印刷商和艺术家用金属箔,丙烯颜料,制化妆品用着色剂,画家、装饰家、印刷商和艺术家用铅合金箔片,蛋彩画颜料,装饰用金属箔,艺术家用丙烯颜料,油性颜料,着色用铝粉,"
},
{
"smallclassification"
:
"0203 食品着色剂"
,
"content"
:
"食用色素020005,啤酒色素020024,食品用着色剂020005,麦芽焦糖(食品色素)020035,黄油色素020023,饮料色素020004,麦芽色素020048,焦糖(食品色素)020034,利口酒用色素020088,"
,
"xinzeng"
:
"生产食物用色素,制造饮料用焦糖色素,制造食品用焦糖色素,家用食品色素,生产饮料用色素,"
},
{
"smallclassification"
:
"0204 油墨"
,
"content"
:
"复印机用碳粉C020017,文字处理机用已填充的墨盒C020002,打印机和复印机用已填充的墨盒020133,打印机和复印机用墨水020121,雕刻油墨020080,皮肤绘画用墨020069,喷墨打印机用已填充的墨盒C020016,打印机和复印机用墨粉020132,印刷油墨020066,已填充可食用墨的打印机墨盒020129,可食用墨020128,动物打印记用墨020067,制革用墨020033,激光打印机用已填充的墨盒C020015,打印机和复印机用已填充的鼓粉盒020123,印刷膏(油墨)020043,"
,
"xinzeng"
:
"干油墨,印刷合成物(油墨),油印油墨,喷墨打印机用墨水,金粉油墨,已填充的喷墨打印墨盒,激光打印机用已填充的鼓粉盒,胶版印刷用油墨,文身用墨,已填充的鼓粉盒,热致变色油墨,喷墨打印机用已填充的鼓粉盒,已填充的打印机墨盒,打印机和影印机用碳粉盒(填满的),用作油墨干燥剂的催干剂,丝网印刷用油墨,凸版印刷油墨,金属油墨,静电复印用色粉,柔版印刷用胶囊香味油墨,凹版油墨,复印油墨,打印碳粉,纺织品着色用油墨,平版印刷油墨,"
},
{
"smallclassification"
:
"0205 涂料,油漆及附料(不包括绝缘漆)"
,
"content"
:
"树脂胶泥C020013,松香水C020004,油漆补片(可替换的)020125,清漆用苏模鞣料020102,防火漆020085,虫胶020077,油漆催干剂020068,瓷釉(漆)020064,油漆稀释剂020053,沥青油漆020025,粉刷用石灰浆020020,铝涂料020007,防水粉(涂料)C020012,防涂鸦涂料(油漆)020131,松节油(涂料稀释剂)020124,防污涂料020122,底漆020108,固定剂(清漆)020072,刷墙粉020062,油漆增稠剂020055,粉刷用石灰水020042,运载工具底盘底漆020040,杀菌漆020019,银镀粉020016,清漆020003,水溶性内外墙有光喷塑料C020007,防水冷胶料C020006,可赛银C020005,稀料C020003,漆020115,苯乙烯树脂漆020114,粉刷用白垩灰浆020110,油漆黏合剂020087,釉料(漆、清漆)020075,涂料(油漆)020070,青铜漆020031,油漆020001,天那水C020010,聚乙烯胶泥C020008,油漆凝结剂020087,瓷漆020065,漆稀释剂020054,运载工具底盘防蚀涂层020040,陶瓷涂料020037,屋顶毡用涂料(油漆)020036,木材涂料(油漆)020026,黑亮漆020017,磁漆C020018,信那水C020011,无黏性化学涂料(不粘锅用)C020009,油毛毡用涂料(油漆)020036,银涂料020014,"
,
"xinzeng"
:
"橱柜制作用清漆,军事设备用伪装漆,家具上光用涂料,反光喷漆,清漆(非绝缘漆),有色涂料(油漆),油漆类不粘涂层(涂料),虫胶清漆,船体底壳漆,生产加工用油漆,涂料和腻子用干燥剂,标记路面用热塑性油漆,陶瓷制造用油漆,机器用油漆,地板用漆,合成树脂涂料,阻燃油漆,油性漆,油漆和油灰用黏合剂,防火油漆,陶器瓷漆,发光漆,合成涂料(油漆),运载工具涂层用透明保护剂,混凝土地面用油漆,运载工具用透明防护涂料,家具制造用油漆,车辆用防锈制剂涂层,混凝土用辐射固化涂料,汽车用漆,防腐油漆,耐热漆,木器漆,玻璃钢游泳池和水疗场所用非金属彩色表面涂层,装饰用喷涂式涂料,无溶剂油漆,房屋用漆,防涂鸦用油漆,地板保护清漆,纸涂层用漆,汽车制造用油漆,搪瓷漆,喷漆,防腐蚀涂料,防腐蚀油漆,抗风化涂料(油漆),绘画漆,混凝土地面用环氧涂料,商业船舶用防腐油漆类涂料,工艺品漆,透明涂料(油漆),用于表面涂漆做准备的底漆,调和漆,粉末涂料,外墙漆,荧光漆,内墙漆,用作涂料稀释剂的松节油,建筑油漆,防潮油漆,待涂表面用底漆,海事用油漆,建筑物外表面用彩色油漆,用作涂料干燥剂的催干剂,工业装置用油漆,具有防水特性的涂料制剂(油漆),防锈涂料,防锈漆,防水油漆,"
},
{
"smallclassification"
:
"0206 防锈剂,木材防腐剂"
,
"content"
:
"金属用保护制剂020094,金属防锈制剂020093,防锈油脂020079,羰基(木头防腐剂)020113,木材防腐油020082,防腐蚀剂020010,防锈油020083,防腐蚀带020021,木材防腐用杂酚油020056,木材防腐剂020049,防锈制剂020107,"
,
"xinzeng"
:
"木材防腐用桐油,防腐用木材处理剂,防腐蚀油,防腐蚀纸,"
},
{
"smallclassification"
:
"0207 未加工的天然树脂"
,
"content"
:
"天然树脂020091,未加工的天然树脂020061,加拿大香脂020022,天然硬树脂020050,山达脂020100,松香020046,树胶脂020078,"
,
"xinzeng"
:
"加拿大香脂(未加工天然树脂),未加工天然树脂,达马树脂,生产黏合剂用未加工天然树脂,"
}
]
},
"bizmsg"
:
"empty"
,
"requestId"
:
"87df01c1c9214fd29cfd555c8af680b5"
}
```
## **<a name="gettwoNcl"> 获取尼斯群组</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:gettwoNcl
```
javascript
{
"code"
:
"1"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"rows"
:[
{
"code"
:
"0101"
,
"name"
:
"工业气体,单质"
},
{
"code"
:
"0102"
,
"name"
:
"用于工业、科学、农业、园艺、林业的工业化工原料"
},
{
"code"
:
"0103"
,
"name"
:
"放射性元素及其化学品"
},
{
"code"
:
"0104"
,
"name"
:
"用于工业、科学的化学品、化学制剂,不属于其他类别的产品用的化学制品"
},
{
"code"
:
"0105"
,
"name"
:
"用于农业、园艺、林业的化学品、化学制剂"
},
{
"code"
:
"0106"
,
"name"
:
"化学试剂"
},
{
"code"
:
"0107"
,
"name"
:
"摄影用化学用品及材料"
},
{
"code"
:
"0108"
,
"name"
:
"未加工的人造合成树脂,未加工塑料物质(不包括未加工的天然树脂)"
},
{
"code"
:
"0109"
,
"name"
:
"肥料"
},
{
"code"
:
"0110"
,
"name"
:
"灭火、防火用合成物"
},
{
"code"
:
"0111"
,
"name"
:
"淬火用化学制剂"
},
{
"code"
:
"0112"
,
"name"
:
"焊接用化学制剂"
},
{
"code"
:
"0113"
,
"name"
:
"食药用化学品(不包括食品用防腐盐)"
},
{
"code"
:
"0114"
,
"name"
:
"鞣料及皮革用化学品"
},
{
"code"
:
"0115"
,
"name"
:
"工业用黏合剂和胶(不包括纸用黏合剂)"
},
{
"code"
:
"0116"
,
"name"
:
"纸浆"
}
]
},
"bizmsg"
:
"empty"
,
"requestId"
:
"984601fa445c465ab3869e236ef2d8d5"
}
```
## **<a name="nclFuwuSearch"> 尼斯分类检索</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:nclFuwuSearch
```
javascript
{
"currentPage"
:
1
,
"nclfuwu"
:
"化学"
,
"pageSize"
:
20
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"rows"
:[
{
"nclthreecode"
:
"C400005"
,
"nclthreename"
:
"化学试剂加工和处理"
,
"ncltwocode"
:
"4015"
,
"ncltwoname"
:
"单一服务"
,
"nclonecode"
:
"40"
,
"nclonename"
:
"40类 材料加工"
},
{
"nclthreecode"
:
"C070210"
,
"nclthreename"
:
"林产化学设备"
,
"ncltwocode"
:
"0729"
,
"ncltwoname"
:
"其他化学工业用机械"
,
"nclonecode"
:
"07"
,
"nclonename"
:
"07类 机械设备"
},
{
"nclthreecode"
:
"C020009"
,
"nclthreename"
:
"无黏性化学涂料(不粘锅用)"
,
"ncltwocode"
:
"0205"
,
"ncltwoname"
:
"涂料,油漆及附料(不包括绝缘漆)"
,
"nclonecode"
:
"02"
,
"nclonename"
:
"02类 颜料油漆"
},
{
"nclthreecode"
:
"C010260"
,
"nclthreename"
:
"化学防腐剂"
,
"ncltwocode"
:
"0104"
,
"ncltwoname"
:
"用于工业、科学的化学品、化学制剂,不属于其他类别的产品用的化学制品"
,
"nclonecode"
:
"01"
,
"nclonename"
:
"01类 化学原料"
},
{
"nclthreecode"
:
"C010244"
,
"nclthreename"
:
"化学肥料"
,
"ncltwocode"
:
"0109"
,
"ncltwoname"
:
"肥料"
,
"nclonecode"
:
"01"
,
"nclonename"
:
"01类 化学原料"
},
{
"nclthreecode"
:
"440115"
,
"nclthreename"
:
"空中和地面化肥及其他农用化学品的喷洒"
,
"ncltwocode"
:
"4404"
,
"ncltwoname"
:
"农业、园艺服务"
,
"nclonecode"
:
"44"
,
"nclonename"
:
"44类 医疗园艺"
},
{
"nclthreecode"
:
"420031"
,
"nclthreename"
:
"化学研究"
,
"ncltwocode"
:
"4211"
,
"ncltwoname"
:
"提供化学研究服务"
,
"nclonecode"
:
"42"
,
"nclonename"
:
"42类 科技服务"
},
{
"nclthreecode"
:
"420030"
,
"nclthreename"
:
"化学服务"
,
"ncltwocode"
:
"4211"
,
"ncltwoname"
:
"提供化学研究服务"
,
"nclonecode"
:
"42"
,
"nclonename"
:
"42类 科技服务"
},
{
"nclthreecode"
:
"420007"
,
"nclthreename"
:
"化学分析"
,
"ncltwocode"
:
"4211"
,
"ncltwoname"
:
"提供化学研究服务"
,
"nclonecode"
:
"42"
,
"nclonename"
:
"42类 科技服务"
},
{
"nclthreecode"
:
"400058"
,
"nclthreename"
:
"纺织品化学处理"
,
"ncltwocode"
:
"4003"
,
"ncltwoname"
:
"纺织品化学处理或加工服务"
,
"nclonecode"
:
"40"
,
"nclonename"
:
"40类 材料加工"
},
{
"nclthreecode"
:
"400058"
,
"nclthreename"
:
"布料化学处理"
,
"ncltwocode"
:
"4003"
,
"ncltwoname"
:
"纺织品化学处理或加工服务"
,
"nclonecode"
:
"40"
,
"nclonename"
:
"40类 材料加工"
},
{
"nclthreecode"
:
"170042"
,
"nclthreename"
:
"补漏用化学合成物"
,
"ncltwocode"
:
"1702"
,
"ncltwoname"
:
"非金属密封减震制品"
,
"nclonecode"
:
"17"
,
"nclonename"
:
"17类 橡胶制品"
},
{
"nclthreecode"
:
"100184"
,
"nclthreename"
:
"非化学避孕用具"
,
"ncltwocode"
:
"1006"
,
"ncltwoname"
:
"性用品"
,
"nclonecode"
:
"10"
,
"nclonename"
:
"10类 医疗器械"
},
{
"nclthreecode"
:
"090549"
,
"nclthreename"
:
"化学仪器和器具"
,
"ncltwocode"
:
"0910"
,
"ncltwoname"
:
"测量仪器仪表,实验室用器具,电测量仪器,科学仪器"
,
"nclonecode"
:
"09"
,
"nclonename"
:
"09类 科学仪器"
},
{
"nclthreecode"
:
"070490"
,
"nclthreename"
:
"化学工业用电动机械"
,
"ncltwocode"
:
"0729"
,
"ncltwoname"
:
"其他化学工业用机械"
,
"nclonecode"
:
"07"
,
"nclonename"
:
"07类 机械设备"
},
{
"nclthreecode"
:
"050488"
,
"nclthreename"
:
"治疗谷类植物病害的化学制剂"
,
"ncltwocode"
:
"0505"
,
"ncltwoname"
:
"杀虫剂,除莠剂,农药"
,
"nclonecode"
:
"05"
,
"nclonename"
:
"05类 医药"
},
{
"nclthreecode"
:
"050380"
,
"nclthreename"
:
"化学盥洗室用消毒剂"
,
"ncltwocode"
:
"0503"
,
"ncltwoname"
:
"净化制剂"
,
"nclonecode"
:
"05"
,
"nclonename"
:
"05类 医药"
},
{
"nclthreecode"
:
"050364"
,
"nclthreename"
:
"医用或兽医用化学试剂"
,
"ncltwocode"
:
"0501"
,
"ncltwoname"
:
"药品,消毒剂,中药药材,药酒"
,
"nclonecode"
:
"05"
,
"nclonename"
:
"05类 医药"
},
{
"nclthreecode"
:
"050363"
,
"nclthreename"
:
"兽医用化学制剂"
,
"ncltwocode"
:
"0504"
,
"ncltwoname"
:
"兽药,动物用膳食补充剂"
,
"nclonecode"
:
"05"
,
"nclonename"
:
"05类 医药"
},
{
"nclthreecode"
:
"050362"
,
"nclthreename"
:
"医用化学制剂"
,
"ncltwocode"
:
"0501"
,
"ncltwoname"
:
"药品,消毒剂,中药药材,药酒"
,
"nclonecode"
:
"05"
,
"nclonename"
:
"05类 医药"
}
],
"count"
:
235
},
"bizmsg"
:
"empty"
,
"requestId"
:
"087a6a9cdd0c437e9bfea9bab4a421ab"
}
```
## **<a name="bycznfx"> 商标智能分析</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:bycznfx
```
javascript
{
"url"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_2658156938078025420192511620254zqq_201903191338dcunvwio34tmznfxmb.xlsx"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
null
,
"data"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com/9akFZ1xgrQDH_1571041828099.xlsx"
,
"requestId"
:
"0c14f04dc187486b829e392dc87c70c6"
}
```
## **<a name="icheming"> 工商核名</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmQuery/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:icheming
```
javascript
{
"cityname"
:
"北京"
,
"keyword"
:
"创知"
,
"btname"
:
"科技"
,
"orgname"
:
"有限公司"
,
"sitcity"
:
1
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:{
"code"
:
"200"
,
"level"
:
"低"
,
"point"
:
400
,
"cityList"
:[
],
"brandList"
:[
],
"sensitiveList"
:[
],
"similarCityList"
:[
{
"id"
:
0
,
"name"
:
"北京<em>创知</em>厚德科技有限公司"
,
"title"
:
""
,
"pinyin"
:
""
,
"per"
:
90
,
"type"
:
""
,
"levels"
:
"高"
},
{
"id"
:
0
,
"name"
:
"北京<em>创知</em>翼网络科技有限公司"
,
"title"
:
""
,
"pinyin"
:
""
,
"per"
:
86
,
"type"
:
""
,
"levels"
:
"高"
},
{
"id"
:
0
,
"name"
:
"北京领<em>创知</em>域文化科技有限公司"
,
"title"
:
""
,
"pinyin"
:
""
,
"per"
:
83
,
"type"
:
""
,
"levels"
:
"高"
}
],
"identicalCityList"
:[
{
"id"
:
0
,
"name"
:
"北京<em>创知</em>科技有限公司"
,
"title"
:
""
,
"pinyin"
:
""
,
"per"
:
100
,
"type"
:
""
,
"levels"
:
"高"
}
],
"msg"
:
"查询完成"
},
"bizmsg"
:
"empty"
,
"requestid"
:
"d90f8647d1ce499d93b92a9827e9860a"
}
```
## **<a name="getOssConfig"> 获取oss配置数据</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/tmTools/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getOssConfig
```
javascript
{}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:{
"OSSAccessKeyId"
:
"LTAIyAUK8AD04P5S"
,
"policy"
:
"eyJleHBpcmF0aW9uIjoiMjExOS0xMi0zMVQxNjowMDowMC4wMDBaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJ6YyJdXX0="
,
"Signature"
:
"PIEo2XGkySgyJIEcdEcM0G+0D04="
,
"Bucket"
:
"gsb-zc"
,
"success_action_status"
:
201
,
"url"
:
"https://gsb-zc.oss-cn-beijing.aliyuncs.com"
},
"requestId"
:
"becb6b6bfa9449129c84d35b13b5e5e7"
}
```
center-order/app/front/entry/public/apidoc/patentDesc/patent.md
deleted
100644 → 0
View file @
bd7a99dc
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
根据申请人查询聚合接口
](
#CommomSearchbyApplicant
)
1.
[
根据申请人获取专利量接口
](
#paCountByApplicantName
)
1.
[
根据申请人获取专利详情列表接口
](
#paShortListByApplicantName
)
1.
[
根据公开或授权号获取专利详情列表接口
](
#paDetailsBypubNo
)
1.
[
根据申请号获取专利详情列表接口
](
#paDetailsByfilingNo
)
1.
[
根据公司名称得到软著量
](
#softwareCountByAuthor
)
1.
[
根据公司名称得到软著详情
](
#softwareListByAuthor
)
1.
[
根据登记号获取软著详情接口
](
#softwareDetailsByregNum
)
1.
[
根据公司名称得到著作权量
](
#worksCountByAuthor
)
1.
[
根据公司名称得到著作权详情接口
](
#worksListByAuthor
)
1.
[
根据登记号获取著作权详情
](
#worksDetailsByregNum
)
## **<a name="CommomSearchbyApplicant"> 根据申请人查询聚合接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/CommomSearchbyApplicant
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:CommomSearchbyApplicant
```
javascript
{
"applicant"
:
"中国专利信息中心"
,
//申请人名称
"pubtype"
:
"发明"
,
//专利类型:发明、实用新型、外观设计
"pubstatus"
:
""
,
//专利法律状态
"filingyear"
:
""
,
//申请年份
"pubyear"
:
""
,
//公开年份
"pagesize"
:
20
,
"page"
:
1
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
5
,
max_score
:
49.434937
,
hits
:
[
{
"_index"
:
"bigdata_patent_bib"
,
"_type"
:
"_doc"
,
"_id"
:
"201410451887"
,
"_score"
:
49.5767
,
"_source"
:
{
"pub_type"
:
"发明"
,
"gr_no"
:
"CN104298662B"
,
"filing_name"
:
"一种基于有机物命名实体的机器翻译方法及翻译系统"
,
"pub_time"
:
"2015-01-21"
,
"filing_time"
:
"2014-09-05"
,
"gr_time"
:
"2017-10-10"
,
"filing_no"
:
"201410451887"
,
"inventor_name"
:
[
"任智军"
,
"张威"
,
"李进"
,
"杨婧"
,
"张延花"
],
"pub_status"
:
"有效"
,
"applicant_name"
:
[
"中国专利信息中心"
],
"pub_no"
:
"CN104298662A"
}
}
]
},
buckets
:
{
group_by_pub_status
:
{
doc_count_error_upper_bound
:
0
,
sum_other_doc_count
:
0
,
buckets
:
[
{
"key"
:
"有效"
,
"doc_count"
:
4
},
{
"key"
:
"在审"
,
"doc_count"
:
1
}
]
},
group_by_filing_year
:
{
doc_count_error_upper_bound
:
0
,
sum_other_doc_count
:
0
,
buckets
:
[
{
"key"
:
"2017"
,
"doc_count"
:
1
},
{
"key"
:
"2014"
,
"doc_count"
:
2
},
{
"key"
:
"2013"
,
"doc_count"
:
1
},
{
"key"
:
"2012"
,
"doc_count"
:
1
}
]
},
group_by_pub_year
:
{
doc_count_error_upper_bound
:
0
,
sum_other_doc_count
:
0
,
buckets
:
[
{
"key"
:
"2018"
,
"doc_count"
:
1
},
{
"key"
:
"2015"
,
"doc_count"
:
1
},
{
"key"
:
"2014"
,
"doc_count"
:
2
},
{
"key"
:
"2012"
,
"doc_count"
:
1
}
]
},
group_by_pub_type
:
{
doc_count_error_upper_bound
:
0
,
sum_other_doc_count
:
0
,
buckets
:
[
{
"key"
:
"发明"
,
"doc_count"
:
5
}
]
}
}
}
```
## **<a name="paCountByApplicantName"> 根据申请人获取专利量接口</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/paCountByApplicantName
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:paCountByApplicantName
```
javascript
{
"applicant_name"
:
"中国专利信息中心"
//申请人名称
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
5370
,
bizmsg
:
'empty'
}
```
## **<a name="paShortListByApplicantName"> 根据申请人获取专利详情列表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/paShortListByApplicantName
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:paShortListByApplicantName
```
javascript
{
"applicant_name"
:
"中国专利信息中心"
//申请人名称
"page_size"
:
20
,
"current_page"
:
1
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
5
,
data
:
[
{
agency_name
:
'北京瑞恒信达知识产权代理事务所(普通合伙)'
,
//代理机构名称
abstr_text
:
'本申请提供一种研发方向识别的方法,包括:步骤1:收集专利文献,将专利文献分为新申请文献、新失效文献和其他文献三部分,将新申请文献和新失效文献整合作为分析数据库;步骤2:生成技术主题,建立主题矩阵;步骤3:计算主题矩阵的新申请相关度和新失效相关度;步骤4:识别研发方向。利用本发明的方法,可以建立规则识别四类研发状态,分析技术研发趋势,为单位的技术研发动态、调整研发策略提供参考借鉴。'
,
//摘要
filing_name
:
'一种识别研发方向的方法'
,
//发明名称
filing_time
:
'2015-01-05'
,
//申请日
filing_no
:
'201711426233'
,
//申请号
gr_time
:
null
,
//授权公告日
pub_time
:
'2016-01-05'
,
//公开日
main_ipc
:
'G06F17/27'
,
//主IPC
pub_type
:
'发明'
,
//专利类型
gr_no
:
null
,
//授权公告号
pub_status_now
:
'实审'
,
//当前状态
applicant_name
:
[
'中国专利信息中心'
],
//申请人
inventor_name
:
[
'任智军'
,
'谷威'
,
'张威'
,
'陈强'
,
'范婷婷'
,
'和兰'
,
'谢慧'
,
'张凯'
],
//发明人
pub_no
:
'CN108255807A'
//公开号
}
]
},
bizmsg
:
'empty'
}
```
## **<a name="paDetailsBypubNo"> 根据公开或授权号获取专利详情列表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/paDetailsBypubNo
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:paDetailsBypubNo
```
javascript
{
"pub_no"
:
"北京联大共享科技"
,
"gr_no"
:
""
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
5
,
data
:
[
{
agency_name
:
'北京瑞恒信达知识产权代理事务所(普通合伙)'
,
//代理机构名称
abstr_text
:
'本申请提供一种研发方向识别的方法,包括:步骤1:收集专利文献,将专利文献分为新申请文献、新失效文献和其他文献三部分,将新申请文献和新失效文献整合作为分析数据库;步骤2:生成技术主题,建立主题矩阵;步骤3:计算主题矩阵的新申请相关度和新失效相关度;步骤4:识别研发方向。利用本发明的方法,可以建立规则识别四类研发状态,分析技术研发趋势,为单位的技术研发动态、调整研发策略提供参考借鉴。'
,
//摘要
filing_name
:
'一种识别研发方向的方法'
,
//发明名称
filing_time
:
'2015-01-05'
,
//申请日
filing_no
:
'201711426233'
,
//申请号
gr_time
:
null
,
//授权公告日
pub_time
:
'2016-01-05'
,
//公开日
main_ipc
:
'G06F17/27'
,
//主IPC
pub_type
:
'发明'
,
//专利类型
gr_no
:
null
,
//授权公告号
pub_status_now
:
'实审'
,
//当前状态
applicant_name
:
[
'中国专利信息中心'
],
//申请人
inventor_name
:
[
'任智军'
,
'谷威'
,
'张威'
,
'陈强'
,
'范婷婷'
,
'和兰'
,
'谢慧'
,
'张凯'
],
//发明人
pub_no
:
'CN108255807A'
//公开号
}
]
},
bizmsg
:
'empty'
}
```
## **<a name="paDetailsByfilingNo"> 根据申请号获取专利详情列表</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/paDetailsByfilingNo
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:paDetailsByfilingNo
```
javascript
{
"filingNo"
:
"201711426233"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"操作成功"
,
"data"
:
{
"total"
:
1
,
"data"
:
[
{
"appl_zip"
:
"510000"
,
"agency_code"
:
"44372"
,
"filing_name"
:
"一种访问网络的方法及网络设备、管理服务器"
,
"filing_time"
:
"2015-01-07"
,
"main_ipc"
:
"H04L29/06"
,
"pub_type"
:
"发明"
,
"pub_status_now"
:
"授权"
,
"ipc_version"
:
"(2006.01)"
,
"agency_name"
:
null
,
"other_ipc"
:
[
"H04L29/06"
],
"appl_address"
:
"广东省广州市荔湾区中山八路6号1807房"
,
"abstr_text"
:
"本发明公开了一种访问网络的方法及网络设备、管理服务器,方法包括接收终端设备发送的域名查询请求报文,其中,域名查询请求报文携带终端设备所访问的目标网站的域名;向DNS服务器转发域名查询请求报文;接收DNS服务器返回的域名查询成功应答报文,其中,域名查询成功应答报文携带目标网站的域名对应的IP地址;将域名查询成功应答报文中携带的网站的域名对应的IP地址修改为管理服务器的IP地址;将修改后的域名查询成功应答报文返回给终端设备,以使终端设备向目标网站发送网页请求报文时,网页请求报文中所携带的目的IP地址为管理服务器的IP地址。通过上述方式,本发明能够管理终端设备与网络之间交互的数据报文。"
,
"pct_info"
:
{
"pct_pub_lang"
:
"zh"
,
"inter_date"
:
1421298000
,
"pct_filing_date"
:
1420606800
,
"pct_pub_date"
:
1449723600
,
"pct_filing_no"
:
"PCT/CN2015/070285"
,
"pct_pub_no"
:
"WO2015/184799"
},
"pub_time"
:
"2015-04-08"
,
"claim_text"
:
"1.一种访问网络的方法,其特征在于,包括:接收网页请求报文,其中,所述网页请求报文包含目的IP地址、源IP地址和终端设备所?访问的目标网站的URL地址,所述目的IP地址为管理服务器的IP地址,所述源IP地址为终端?设备的IP地址;解析所述网页请求报文,根据所述网页请求报文中携带的URL地址向DNS服务器发送域?名查询请求报文,以请求所述目标网站的IP地址;接收所述DNS服务器返回的域名查询成功应答报文,其中,所述域名查询成功应答报文?携带所述目标网站的域名对应的IP地址;将所述网页请求报文中的目的IP地址修改为所述目标网站的IP地址,以及所述网页请?求报文中的源IP地址修改为管理服务器的IP地址,向所述目标网站发送网页请求并向所述?目标网站转发所述修改后的网页请求报文;接收所述目标网站根据所述修改后的网页请求报文返回的网页请求应答报文;将所述网页请求应答报文中目的IP地址修改为所述终端设备的IP地址,并向所述终端?设备转发所述网页请求应答报文。"
,
"filing_no"
:
"201580000001"
,
"agent_name1"
:
"张莉"
,
"pub_status"
:
"有效"
,
"agent_name2"
:
null
,
"applicant_name"
:
[
"胡汉强"
],
"country_code"
:
"81"
,
"img_path"
:
"http://43.247.184.94:7170/Img/patent/china/FMZL/2015/80000/001/93b6aed0-4bf4-4d5e-9fd6-c3c4d7e3c4fc.gif"
,
"gr_no"
:
"CN104509066B"
,
"gr_time"
:
"2017-10-27"
,
"inventor_name"
:
[
"胡汉强"
],
"prior_info"
:
[
{
"pri_country"
:
"CN"
,
"pri_date"
:
1401940800
,
"pri_no"
:
"2014102478520"
}
],
"pub_no"
:
"CN104509066A"
}
]
},
"bizmsg"
:
"empty"
,
"requestId"
:
"8242362615c341e0be659f32af02fa4b"
}
```
## **<a name="softwareCountByAuthor"> 根据公司名称得到软著量</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/softwareCountByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:softwareCountByAuthor
```
javascript
{
"author"
:
"中国专利信息中心"
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
5370
,
bizmsg
:
'empty'
}
```
## **<a name="softwareListByAuthor"> 根据公司名称得到软著详情</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/softwareListByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:softwareListByAuthor
```
javascript
{
"author"
:
""
,
"page_size"
:
10
,
"current_page"
:
0
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
5
,
data
:
[
{
reg_num
:
'2016SR348010'
,
//登记号
cat_num
:
'30200-8500'
,
//分类号
full_name
:
'美灵思(MLNX)慢性病管理系统服务器端软件'
,
//软著名称
simple_name
:
'CDMS'
,
//软件简称
publish_time
:
1470628800
,
//登记批准日期时间戳
reg_time
:
1480568400
,
//登记日期时间戳
software_version
:
'V1.0'
//版本号
}
]
},
bizmsg
:
'empty'
}
```
## **<a name="softwareDetailsByregNum"> 根据登记号获取软著详情</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/softwareDetailsByregNum
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:softwareDetailsByregNum
```
javascript
{
"reg_num"
:
"2019SR0203965"
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
5
,
data
:
[
{
reg_num
:
'2016SR348010'
,
//登记号
cat_num
:
'30200-8500'
,
//分类号
full_name
:
'美灵思(MLNX)慢性病管理系统服务器端软件'
,
//软著名称
simple_name
:
'CDMS'
,
//软件简称
publish_time
:
1470628800
,
//登记批准日期时间戳
reg_time
:
1480568400
,
//登记日期时间戳
software_version
:
'V1.0'
//版本号
}
]
},
bizmsg
:
'empty'
}
```
## **<a name="worksCountByAuthor"> 根据公司名称得到著作权量</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/worksCountByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:worksCountByAuthor
```
javascript
{
"author"
:
""
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
5370
,
bizmsg
:
'empty'
}
```
## **<a name="worksListByAuthor"> 根据公司名称得到著作权详情</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/worksListByAuthor
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:worksListByAuthor
```
javascript
{
"author"
:
""
,
"page_size"
:
10
,
"current_page"
:
0
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
5
,
data
:
[
{
reg_num
:
'浙作登字-2017-F-00008752'
,
//登记号
works_name
:
'奖杯系列(6810)'
,
//作品名称
publish_time
:
1500868800
,
//登记日期时间戳
first_publish_time
:
null
,
//首次发布日期时间戳
works_type
:
'美术'
,
//类型
finish_time
:
1496635200
//创作完成日期时间戳
}
]
},
bizmsg
:
'empty'
}
```
## **<a name="worksDetailsByregNum"> 根据登记号获取著作权详情</a>**
[
返回到目录
](
#menu
)
##### URL
[
/action/patentQuery/worksDetailsByregNum
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:worksDetailsByregNum
```
javascript
{
"reg_num"
:
"1656"
}
```
#### 返回结果
```
javascript
{
status
:
0
,
msg
:
'操作成功'
,
data
:
{
total
:
5
,
data
:
[
{
reg_num
:
'浙作登字-2017-F-00008752'
,
//登记号
works_name
:
'奖杯系列(6810)'
,
//作品名称
publish_time
:
1500868800
,
//登记日期时间戳
first_publish_time
:
null
,
//首次发布日期时间戳
works_type
:
'美术'
,
//类型
finish_time
:
1496635200
//创作完成日期时间戳
}
]
},
bizmsg
:
'empty'
}
```
center-order/app/front/entry/public/apidoc/paymentDesc/payment.md
deleted
100644 → 0
View file @
bd7a99dc
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
pc端订单支付二维码生成
](
#paypc
)
## **<a name="paypc"> 订单支付</a>**
[
返回到目录
](
#menu
)
##### URL
[
/api/payment/paymentApi/getQrCode
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:paypc
```
javascript
{
"uapp_id"
:
"1"
,
//平台渠道ID
"order_num"
:
"1"
,
//支付单号
"total_fee"
:
"1"
,
//支付金额 分
"body_desc"
:
"1"
,
//产品名称
"opType"
:
"1"
,
// 支付方式 alipay阿里 wx微信
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
//0 成功 小于0 失败
"msg"
:
"SUCCESS"
,
"data"
:
{
"payinfo"
:
"https://syb.allinpay.com/apiweb/h5unionpay/native?key=l6lfPuHDErJrTW%2FN7WxSlg4n"
,
//二维码url
"reqsn"
:
"dfghrtjjn_1"
,
////商户订单号_appid
"chnltrxid"
:
"112094120001042656"
,
// 支付渠道交易单号,如支付宝,微信平台的交易单号
"trxid"
:
"112094120001042656"
,
// 交易单号,平台的交易流水号
"trxstatus"
:
"0000"
// 交易状态,0000:交易成功、1001:交易不存在、
},
"requestId"
:
"058244807fff4ab388bbda79afc04b28"
}
```
center-order/app/front/entry/public/apidoc/user/user.md
deleted
100755 → 0
View file @
bd7a99dc
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
短信验证码
](
#smsCode
)
1.
[
密码登录
](
#pwdLogin
)
1.
[
验证码登录
](
#userPinByLgoinVcode
)
1.
[
用户注册
](
#userPinByRegister
)
1.
[
按照手机号和验证码修改密码
](
#putUserPwdByMobile
)
1.
[
退出
](
#logout
)
## **<a name="smsCode"> 短信验证码</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/auth/accessAuth/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getVerifyCode
```
javascript
{
"mobile"
:
"15010929366"
// Y 手机号
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
// 0为成功,否则失败
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"4f3ea2afee3542f88d6b938394af84d8"
}
```
## **<a name="pwdLogin"> 密码登录</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/auth/accessAuth/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:userPinByLgoin
```
javascript
{
"mobile"
:
"15010929366"
,
// Y 手机号
"password"
:
"123456"
// Y 密码
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
// 0为成功,2010为账户或密码错误,2060为重复登录,否则失败
"msg"
:
"success"
,
"data"
:
{
"userpin"
:
"230ecdf3333944ff834f56fba10a02aa"
//用户登录后的凭证,增、删、改、查、涉及用户的需要传递此值在请求头中
},
"requestId"
:
"1b12b0e9c190436da000386ddf693c8f"
}
```
## **<a name="userPinByLgoinVcode"> 验证码登录</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/auth/accessAuth/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:userPinByLgoinVcode
```
javascript
{
"mobile"
:
"15010929366"
,
// Y 手机号
"vcode"
:
"593555"
// Y 验证码
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
// 0为成功,2030为验证码错误,2060为重复登录,否则失败
"msg"
:
"success"
,
"data"
:
{
"userpin"
:
"230ecdf3333944ff834f56fba10a02aa"
//用户登录后的凭证,增、删、改、查、涉及用户的需要传递此值在请求头中
},
"requestId"
:
"1b12b0e9c190436da000386ddf693c8f"
}
```
## **<a name="userPinByRegister"> 用户注册</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/auth/accessAuth/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:userPinByRegister
```
javascript
{
"mobile"
:
"15010929366"
,
// Y 手机号
"vcode"
:
"593555"
,
// Y 验证码
"password"
:
"123456"
// Y 密码
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
// 0为成功,2030为验证码错误,2060为重复登录,否则失败
"msg"
:
"success"
,
"data"
:
{
"userpin"
:
"230ecdf3333944ff834f56fba10a02aa"
//用户登录后的凭证,增、删、改、查、涉及用户的需要传递此值在请求头中
},
"requestId"
:
"1b12b0e9c190436da000386ddf693c8f"
}
```
## **<a name="putUserPwdByMobile"> 按照手机号和验证码修改密码</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/auth/accessAuth/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:putUserPwdByMobile
```
javascript
{
"mobile"
:
"15010929366"
,
// Y 手机号
"vcode"
:
"593555"
,
// Y 验证码
"newPwd"
:
"123456"
// Y 新密码
"userpin"
:
"79009f97cebf4866834ee9e863d5f9b8"
// N 用户登录凭证key
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
// 0为成功,2030为验证码错误,否则失败
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"1b12b0e9c190436da000386ddf693c8f"
}
```
## **<a name="logout"> 退出</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/auth/accessAuth/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:logout
```
javascript
{
"userpin"
:
"15010929366"
// Y 用户登录凭证key
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
// 0为成功,否则失败
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"1b12b0e9c190436da000386ddf693c8f"
}
```
center-order/document/商标操作接口文档v1.docx
deleted
100644 → 0
View file @
bd7a99dc
File deleted
center-order/document/商标操作接口文档v2.docx
deleted
100644 → 0
View file @
bd7a99dc
File deleted
center-order/document/商标操作接口文档v4.docx
deleted
100644 → 0
View file @
bd7a99dc
File deleted
center-order/document/商标检索接口文档v1.docx
deleted
100755 → 0
View file @
bd7a99dc
File deleted
center-order/document/商标检索接口文档v2.docx
deleted
100644 → 0
View file @
bd7a99dc
File deleted
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