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
3e4aac15
Commit
3e4aac15
authored
Jan 15, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
4f945a3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
igirl-channel-web/app/base/controller/impl/trademark/tmqueryCtl.js
+5
-4
No files found.
igirl-channel-web/app/base/controller/impl/trademark/tmqueryCtl.js
View file @
3e4aac15
...
...
@@ -18,13 +18,13 @@ class tmqueryCtl extends CtlBase {
"getNeedInfo"
,
"tmConfirm"
,
"updateTmInfo"
,
"updateNclInfo"
,
"updateContacts"
,
"updateCustomerInfo"
].
indexOf
(
pobj
.
actionType
)
>=
0
)
{
if
(
!
pobj
.
actionBody
.
channelUserId
)
{
return
system
.
getResult
(
-
99
,
"verify channelUserId is not empty"
);
return
system
.
getResult
Fail
(
-
99
,
"verify channelUserId is not empty"
);
}
if
(
!
req
.
session
.
userPinInfo
)
{
return
system
.
getResult
(
-
99
,
"user is not login"
);
return
system
.
getResult
Fail
(
-
99
,
"user is not login"
);
}
if
(
req
.
session
.
userPinInfo
.
encryptChannelUserId
!=
pobj
.
actionBody
.
channelUserId
)
{
return
system
.
getResult
(
-
99
,
"user login is error"
);
return
system
.
getResult
Fail
(
-
99
,
"user login is error"
);
}
pobj
.
isDecryptUser
=
"yes"
;
}
...
...
@@ -124,7 +124,8 @@ class tmqueryCtl extends CtlBase {
req
.
session
.
userPinInfo
=
{
encryptChannelUserId
:
result
.
data
.
channelUserId
,
userpin
:
result
.
data
.
userpin
,
userName
:
result
.
data
.
userName
userName
:
result
.
data
.
userName
,
isAdmin
:
result
.
data
.
isAdmin
||
0
};
}
//login
return
result
;
...
...
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