Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
elearn
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
hqzhdj
elearn
Commits
1969c9ae
Commit
1969c9ae
authored
Jan 17, 2025
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录优化
parent
3071e296
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
cloud-system/src/main/java/com/yizhi/system/application/controller/api/AuthController.java
+1
-1
No files found.
cloud-system/src/main/java/com/yizhi/system/application/controller/api/AuthController.java
View file @
1969c9ae
...
...
@@ -309,7 +309,6 @@ public class AuthController {
httpResponse
.
addHeader
(
GlobalConstant
.
TOKEN_HEADER
,
token
);
//设置最后一次登录站点信息
setStudentLastLoginRecordCache
(
user
.
getId
(),
context
);
ContextHolder
.
set
(
context
);
//登录成功,设置用户选择的语言
languageUtil
.
setStudentSelectLanguage
(
context
,
languageCode
);
...
...
@@ -321,6 +320,7 @@ public class AuthController {
// 添加登录埋点
eventTrackApiClients
.
addEvent
(
"event_login"
,
context
.
getAccountId
());
}
ContextHolder
.
set
(
context
);
logger
.
info
(
"登陆处理结束"
);
return
Response
.
ok
(
retMap
);
...
...
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