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
343e6e5d
Commit
343e6e5d
authored
Jul 02, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
7381936d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
center-manage/app/base/controller/impl/auth/userCtl.js
+4
-0
center-manage/app/base/service/impl/auth/userSve.js
+4
-0
No files found.
center-manage/app/base/controller/impl/auth/userCtl.js
View file @
343e6e5d
...
@@ -7,6 +7,10 @@ class UserCtl extends CtlBase {
...
@@ -7,6 +7,10 @@ class UserCtl extends CtlBase {
constructor
()
{
constructor
()
{
super
(
"auth"
,
CtlBase
.
getServiceName
(
UserCtl
));
super
(
"auth"
,
CtlBase
.
getServiceName
(
UserCtl
));
}
}
async
logout
(
pobj
,
qobj
,
req
){
let
rtn
=
await
this
.
service
.
logout
(
pobj
)
return
system
.
getResult
(
rtn
)
}
async
pmgetUserByCode
(
pobj
,
qobj
,
req
){
async
pmgetUserByCode
(
pobj
,
qobj
,
req
){
let
code
=
pobj
.
code
let
code
=
pobj
.
code
let
rtn
=
await
this
.
service
.
pmgetUserByCode
(
code
)
let
rtn
=
await
this
.
service
.
pmgetUserByCode
(
code
)
...
...
center-manage/app/base/service/impl/auth/userSve.js
View file @
343e6e5d
...
@@ -128,6 +128,10 @@ class UserService extends ServiceBase {
...
@@ -128,6 +128,10 @@ class UserService extends ServiceBase {
}
}
});
});
}
}
async
logout
(
pobj
){
await
this
.
cacheManager
[
"UserCache"
].
invalidate
(
pobj
.
username
);
return
{}
}
//平台登录
//平台登录
//登录接口封装kong-url
//登录接口封装kong-url
//登录路由放行
//登录路由放行
...
...
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