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
ef77a061
Commit
ef77a061
authored
Dec 06, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
a108e1c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
igirl-channel-jdweb/app/base/controller/impl/trademark/tmqueryCtl.js
+6
-1
No files found.
igirl-channel-jdweb/app/base/controller/impl/trademark/tmqueryCtl.js
View file @
ef77a061
...
@@ -161,24 +161,29 @@ class tmqueryCtl extends CtlBase {
...
@@ -161,24 +161,29 @@ class tmqueryCtl extends CtlBase {
try
{
try
{
var
authUrl
=
pobj
.
authUrl
;
var
authUrl
=
pobj
.
authUrl
;
var
authToken
=
pobj
.
authToken
;
var
authToken
=
pobj
.
authToken
;
var
actionProcess
=
pobj
.
actionProcess
;
if
(
!
authUrl
)
{
if
(
!
authUrl
)
{
return
system
.
getResult
(
null
,
"authUrl不能为空"
);
return
system
.
getResult
(
null
,
"authUrl不能为空"
);
}
}
if
(
!
authToken
)
{
if
(
!
authToken
)
{
return
system
.
getResult
(
null
,
"authToken不能为空"
);
return
system
.
getResult
(
null
,
"authToken不能为空"
);
}
}
if
(
!
actionProcess
)
{
return
system
.
getResult
(
null
,
"actionProcess不能为空"
);
}
var
result
=
await
this
.
execClient
.
execPostJDTK
(
""
,
authUrl
,
authToken
);
var
result
=
await
this
.
execClient
.
execPostJDTK
(
""
,
authUrl
,
authToken
);
console
.
log
(
result
,
"execPostJDTK............"
);
console
.
log
(
result
,
"execPostJDTK............"
);
if
(
!
result
||
!
result
.
account
)
{
if
(
!
result
||
!
result
.
account
)
{
return
system
.
getResult
(
null
,
"处理用户请求失败,msg:"
+
result
.
error_description
);
return
system
.
getResult
(
null
,
"处理用户请求失败,msg:"
+
result
.
error_description
);
}
}
var
tokenInfo
=
await
this
.
getToken
(
pobj
.
actionProcess
);
var
tokenInfo
=
await
this
.
getToken
(
actionProcess
);
console
.
log
(
tokenInfo
,
"getUserInfo..................getToken............"
);
console
.
log
(
tokenInfo
,
"getUserInfo..................getToken............"
);
if
(
tokenInfo
.
status
!=
0
)
{
if
(
tokenInfo
.
status
!=
0
)
{
return
tokenInfo
;
return
tokenInfo
;
}
}
//有返回用户信息进行用户ID加密
//有返回用户信息进行用户ID加密
var
param
=
{
var
param
=
{
actionProcess
:
actionProcess
,
actionBody
:
{
channelUserId
:
result
.
account
},
actionBody
:
{
channelUserId
:
result
.
account
},
isUser
:
"yes"
isUser
:
"yes"
};
};
...
...
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