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
b5fb03ef
Commit
b5fb03ef
authored
Sep 09, 2020
by
王悦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
16455da3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
zhiquanquan/app/base/controller/impl/trademark/searchCtl.js
+8
-1
No files found.
zhiquanquan/app/base/controller/impl/trademark/searchCtl.js
View file @
b5fb03ef
...
@@ -5,7 +5,7 @@ let settings = require("../../../../config/settings");
...
@@ -5,7 +5,7 @@ let settings = require("../../../../config/settings");
const
CtlBase
=
require
(
"../../ctl.base"
);
const
CtlBase
=
require
(
"../../ctl.base"
);
const
logCtl
=
system
.
getObject
(
"web.common.oplogCtl"
);
const
logCtl
=
system
.
getObject
(
"web.common.oplogCtl"
);
const
tmtransactionPath
=
"/api/action/tmQuery/springBoard"
;
const
tmtransactionPath
=
"/api/action/tmQuery/springBoard"
;
const
tmurl
=
settings
.
c
enterChannel
Url
()
+
tmtransactionPath
;
const
tmurl
=
settings
.
c
hannelApi
Url
()
+
tmtransactionPath
;
//标源检索
//标源检索
class
searchCtl
extends
CtlBase
{
class
searchCtl
extends
CtlBase
{
constructor
()
{
constructor
()
{
...
@@ -53,6 +53,9 @@ class searchCtl extends CtlBase {
...
@@ -53,6 +53,9 @@ class searchCtl extends CtlBase {
}
}
}
else
return
;
}
else
return
;
let
tokenInfo
=
await
this
.
service
.
getToken
();
let
tokenInfo
=
await
this
.
service
.
getToken
();
console
.
log
(
"==========================>"
,
tokenInfo
)
console
.
log
(
"==========================>"
,
tokenInfo
.
data
.
token
)
try
{
let
rtn
=
await
this
.
execClient
.
execPostTK
(
query
,
tmurl
,
tokenInfo
.
data
.
token
);
let
rtn
=
await
this
.
execClient
.
execPostTK
(
query
,
tmurl
,
tokenInfo
.
data
.
token
);
let
data
=
rtn
.
data
;
let
data
=
rtn
.
data
;
let
published
=
await
this
.
service
.
findAll
({
company_id
:
p
.
company_id
});
let
published
=
await
this
.
service
.
findAll
({
company_id
:
p
.
company_id
});
...
@@ -63,6 +66,10 @@ class searchCtl extends CtlBase {
...
@@ -63,6 +66,10 @@ class searchCtl extends CtlBase {
}
}
});
});
return
system
.
getResultList
(
data
.
count
,
data
.
rows
)
return
system
.
getResultList
(
data
.
count
,
data
.
rows
)
}
catch
(
e
)
{
console
.
log
(
"=======================>"
,
e
)
}
}
}
}
}
...
...
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