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
a6e6fd71
Commit
a6e6fd71
authored
Aug 13, 2020
by
wkliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test login
parent
66773cc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
center-channel/app/base/api/impl/auth/accessAuth.js
+6
-0
No files found.
center-channel/app/base/api/impl/auth/accessAuth.js
View file @
a6e6fd71
...
@@ -92,6 +92,12 @@ class AccessAuthAPI extends WEBBase {
...
@@ -92,6 +92,12 @@ class AccessAuthAPI extends WEBBase {
return
system
.
getResultSuccess
({
userpin
:
pobj
.
actionBody
.
userpin
})
return
system
.
getResultSuccess
({
userpin
:
pobj
.
actionBody
.
userpin
})
}
}
break
;
break
;
case
"userTestLogin"
:
// 假登陆
if
(
pobj
.
actionBody
.
userName
==
'usrftst'
&&
pobj
.
actionBody
.
password
==
'usrftst'
)
{
return
system
.
getResultSuccess
({
userpin
:
'ac74c45ca8e745d9b66cd3f8a3f2172a'
})
}
else
{
return
system
.
getResultFail
(
-
1
,
'用户名或密码错误'
)
}
case
"userPinByLgoinVcode"
:
//通过短信登录信息
case
"userPinByLgoinVcode"
:
//通过短信登录信息
pobj
.
actionBody
.
reqType
=
"login"
;
pobj
.
actionBody
.
reqType
=
"login"
;
opResult
=
await
this
.
utilsAuthSve
.
getReqUserPinByLgoinVcode
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
utilsAuthSve
.
getReqUserPinByLgoinVcode
(
pobj
,
pobj
.
actionBody
);
...
...
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