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
fa739f26
Commit
fa739f26
authored
Mar 04, 2021
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udpate
parent
bcca4b5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
center-channel/app/base/service/impl/trademark/icbcSve.js
+2
-4
No files found.
center-channel/app/base/service/impl/trademark/icbcSve.js
View file @
fa739f26
...
@@ -87,7 +87,7 @@ class IcbcService extends AppServiceBase {
...
@@ -87,7 +87,7 @@ class IcbcService extends AppServiceBase {
}
}
let
ret
=
await
this
.
opReqResult
(
url
,
params
,
req
);
let
ret
=
await
this
.
opReqResult
(
url
,
params
,
req
);
if
(
ret
.
status
!=
1
)
{
if
(
ret
.
status
!=
1
)
{
system
.
getResultFail
(
-
1
,
'获取开放平台token失败'
);
return
system
.
getResultFail
(
-
1
,
'获取开放平台token失败'
);
}
}
let
token
=
ret
.
data
;
let
token
=
ret
.
data
;
...
@@ -98,7 +98,6 @@ class IcbcService extends AppServiceBase {
...
@@ -98,7 +98,6 @@ class IcbcService extends AppServiceBase {
"name"
:
queryobj
.
companyName
"name"
:
queryobj
.
companyName
};
};
let
rtn
=
await
this
.
execClient
.
restGetWithHAuthorizationUrl
(
token
,
url
,
data
);
let
rtn
=
await
this
.
execClient
.
restGetWithHAuthorizationUrl
(
token
,
url
,
data
);
if
(
!
rtn
||
!
rtn
.
stdout
)
{
if
(
!
rtn
||
!
rtn
.
stdout
)
{
return
system
.
getResult
(
null
,
"restPostWithHAuthorizationUrl data is empty"
);
return
system
.
getResult
(
null
,
"restPostWithHAuthorizationUrl data is empty"
);
};
};
...
@@ -110,7 +109,6 @@ class IcbcService extends AppServiceBase {
...
@@ -110,7 +109,6 @@ class IcbcService extends AppServiceBase {
return
system
.
getResultFail
(
-
1
,
'查询失败'
);
return
system
.
getResultFail
(
-
1
,
'查询失败'
);
}
}
let
item
=
result
.
result
.
items
;
let
item
=
result
.
result
.
items
;
//对结果处理
//对结果处理
// "Tag": 1为qichacha,0为gsb
// "Tag": 1为qichacha,0为gsb
var
setValue
=
{};
var
setValue
=
{};
...
@@ -119,7 +117,7 @@ class IcbcService extends AppServiceBase {
...
@@ -119,7 +117,7 @@ class IcbcService extends AppServiceBase {
// this.restClient.hmset(this.disposeCertificationData, setValue);
// this.restClient.hmset(this.disposeCertificationData, setValue);
// }
// }
this
.
restClient
.
hmset
(
this
.
searchCertificationData
,
setValue
);
this
.
restClient
.
hmset
(
this
.
searchCertificationData
,
setValue
);
return
system
.
getResult
(
item
s
);
return
system
.
getResult
(
item
);
}
}
...
...
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