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
1a476812
Commit
1a476812
authored
Nov 26, 2019
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aaa
parent
d021b43b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
igirl-channel/app/base/api/impl/action/tmQuery.js
+5
-2
igirl-channel/app/base/service/impl/trademark/toolSve.js
+5
-1
igirl-channel/document/商标检索接口文档v2.docx
+0
-0
No files found.
igirl-channel/app/base/api/impl/action/tmQuery.js
View file @
1a476812
...
@@ -3,9 +3,9 @@ var system = require("../../../system");
...
@@ -3,9 +3,9 @@ var system = require("../../../system");
class
TmQueryAPI
extends
APIBase
{
class
TmQueryAPI
extends
APIBase
{
constructor
()
{
constructor
()
{
super
();
super
();
this
.
tmqueryApi
=
system
.
getObject
(
"api.trademark.tmqueryApi"
);
//
this.tmqueryApi = system.getObject("api.trademark.tmqueryApi");
this
.
tmquerySve
=
system
.
getObject
(
"service.trademark.tmquerySve"
);
this
.
tmquerySve
=
system
.
getObject
(
"service.trademark.tmquerySve"
);
this
.
toolApi
=
system
.
getObject
(
"api.tool.toolApi"
);
//
this.toolApi = system.getObject("api.tool.toolApi");
this
.
toolSve
=
system
.
getObject
(
"service.trademark.toolSve"
);
this
.
toolSve
=
system
.
getObject
(
"service.trademark.toolSve"
);
}
}
/**
/**
...
@@ -99,6 +99,9 @@ class TmQueryAPI extends APIBase {
...
@@ -99,6 +99,9 @@ class TmQueryAPI extends APIBase {
// opResult = await this.toolApi.bycznfx(action_body);
// opResult = await this.toolApi.bycznfx(action_body);
opResult
=
system
.
getResultSuccess
(
null
,
"商标方案确认成功"
);
opResult
=
system
.
getResultSuccess
(
null
,
"商标方案确认成功"
);
break
;
break
;
case
"icheming"
:
//商标智能分析 -----
opResult
=
await
this
.
toolSve
.
icheming
(
action_body
,
req
);
break
;
default
:
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
break
;
...
...
igirl-channel/app/base/service/impl/trademark/toolSve.js
View file @
1a476812
...
@@ -60,7 +60,11 @@ class ToolService {
...
@@ -60,7 +60,11 @@ class ToolService {
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/adjustWTSSize"
;
var
url
=
this
.
zcApiUrl
+
"api/tool/toolApi/adjustWTSSize"
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
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
)
{
async
opReqResult
(
reqUrl
,
queryobj
,
req
)
{
var
rtn
=
await
this
.
execClient
.
execPushDataPost
(
queryobj
,
reqUrl
,
req
.
headers
[
"token"
],
req
.
headers
[
"request-id"
]);
var
rtn
=
await
this
.
execClient
.
execPushDataPost
(
queryobj
,
reqUrl
,
req
.
headers
[
"token"
],
req
.
headers
[
"request-id"
]);
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
...
...
igirl-channel/document/商标检索接口文档v2.docx
0 → 100644
View file @
1a476812
File added
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