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
02b07289
Commit
02b07289
authored
Jan 14, 2020
by
王栋源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdy
parent
36b95969
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
center-channel/app/base/service/impl/utilsSve/utilsAuthSve.js
+6
-4
No files found.
center-channel/app/base/service/impl/utilsSve/utilsAuthSve.js
View file @
02b07289
...
@@ -98,20 +98,22 @@ class UtilsAuthSve extends AppServiceBase {
...
@@ -98,20 +98,22 @@ class UtilsAuthSve extends AppServiceBase {
if
(
!
pobj
.
appInfo
)
{
if
(
!
pobj
.
appInfo
)
{
return
system
.
getResult
(
null
,
"pobj.appInfo can not be empty !"
);
return
system
.
getResult
(
null
,
"pobj.appInfo can not be empty !"
);
}
}
var
result
=
await
this
.
restPostUrl
(
pobj
,
this
.
centerAppUrl
+
"auth/accessAuth/modiPasswordByMobile"
);
var
result
=
await
this
.
restPostUrl
(
pobj
,
this
.
centerAppUrl
+
"auth/accessAuth/modiPasswordByMobile"
);
if
(
result
.
status
==
0
&&
actionBody
.
userpin
)
{
if
(
result
.
status
==
0
&&
actionBody
.
userpin
)
{
this
.
userLogout
(
pobj
,
actionBody
);
this
.
userLogout
(
pobj
,
actionBody
);
}
}
return
system
.
getResultSuccess
();
return
system
.
getResultSuccess
();
}
}
async
userLogout
(
pobj
,
actionBody
)
{
async
userLogout
(
pobj
,
actionBody
)
{
console
.
log
(
actionBody
.
userpin
);
if
(
!
actionBody
.
userpin
)
{
if
(
!
actionBody
.
userpin
)
{
return
system
.
getResult
(
null
,
"actionBody.userpin can not be empty !"
);
return
system
.
getResult
(
null
,
"actionBody.userpin can not be empty !"
);
}
}
var
cacheManager
=
system
.
getObject
(
"db.common.cacheManager"
);
var
cacheManager
=
system
.
getObject
(
"db.common.cacheManager"
);
await
cacheManager
[
"AppUserPinByLoginVcodeCache"
].
invalidate
(
actionBody
.
userpin
);
var
a
=
await
cacheManager
[
"AppUserPinByLoginVcodeCache"
].
invalidate
(
actionBody
.
userpin
);
await
cacheManager
[
"AppUserPinByLoginPwdCache"
].
invalidate
(
actionBody
.
userpin
);
var
b
=
await
cacheManager
[
"AppUserPinByLoginPwdCache"
].
invalidate
(
actionBody
.
userpin
);
return
system
.
getResultSuccess
();
var
c
=
actionBody
.
userpin
;
return
system
.
getResultSuccess
({
a
,
b
,
c
});
}
}
}
}
...
...
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