Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
rop-scrm-sso
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 14baac08
authored
Dec 31, 2025
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]补齐错删除得代码
1 parent
5eeec5ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/main/java/cn/com/glsx/scrm/sso/controller/system/WechatAppletsLoginController.java
src/main/java/cn/com/glsx/scrm/sso/controller/system/WechatAppletsLoginController.java
View file @
14baac0
...
@@ -647,6 +647,7 @@ public class WechatAppletsLoginController {
...
@@ -647,6 +647,7 @@ public class WechatAppletsLoginController {
return
RopResponse
.
error
(
WechatErrorEnum
.
JS_CODE_2_SESSION_FAILED
);
return
RopResponse
.
error
(
WechatErrorEnum
.
JS_CODE_2_SESSION_FAILED
);
}
}
String
loginToken
=
SessionIdCreateUtil
.
createSessionId
();
String
loginToken
=
SessionIdCreateUtil
.
createSessionId
();
redisService
.
set
(
loginToken
,
JSON
.
toJSONString
(
response
.
getResult
()),
LOGIN_TOKEN_EXPIRE_TIME
);
//将open_id,union_id放进去
//将open_id,union_id放进去
log
.
info
(
"get sessoin by code:{} return:{}"
,
request
.
getCode
(),
response
.
getResult
());
log
.
info
(
"get sessoin by code:{} return:{}"
,
request
.
getCode
(),
response
.
getResult
());
SimpleSession
session
=
SessionManager
.
getSession
(
request
.
getRopRequestContext
());
SimpleSession
session
=
SessionManager
.
getSession
(
request
.
getRopRequestContext
());
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment