Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_ht
Commits
c4eae0b5
Commit
c4eae0b5
authored
Oct 20, 2023
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
login bugfix
parent
c2ea7233
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SConsumerCenterServiceImpl.java
...share/system/service/impl/SConsumerCenterServiceImpl.java
+2
-2
No files found.
share-system/src/main/java/share/system/service/impl/SConsumerCenterServiceImpl.java
View file @
c4eae0b5
...
@@ -80,8 +80,8 @@ public class SConsumerCenterServiceImpl extends ServiceImpl<SConsumerMapper, SCo
...
@@ -80,8 +80,8 @@ public class SConsumerCenterServiceImpl extends ServiceImpl<SConsumerMapper, SCo
SConsumerToken
sConsumerToken
=
sConsumerTokenService
.
getByOpenid
(
response
.
getOpenId
());
SConsumerToken
sConsumerToken
=
sConsumerTokenService
.
getByOpenid
(
response
.
getOpenId
());
LoginResponse
loginResponse
=
new
LoginResponse
();
LoginResponse
loginResponse
=
new
LoginResponse
();
if
(
ObjectUtil
.
isNotNull
(
sConsumerToken
))
{
// 已存在,正常登录
if
(
ObjectUtil
.
isNotNull
(
sConsumerToken
))
{
// 已存在,正常登录
logger
.
info
(
"小程序登陆成功 = Id "
+
sConsumerToken
.
get
I
d
());
logger
.
info
(
"小程序登陆成功 = Id "
+
sConsumerToken
.
get
Ui
d
());
SConsumer
sConsumer
=
sConsumerService
.
getById
(
sConsumerToken
.
get
I
d
());
SConsumer
sConsumer
=
sConsumerService
.
getById
(
sConsumerToken
.
get
Ui
d
());
if
(
sConsumer
==
null
||
sConsumer
.
getStatus
()
==
0
)
{
if
(
sConsumer
==
null
||
sConsumer
.
getStatus
()
==
0
)
{
throw
new
BaseException
(
"当前账户已禁用,请联系管理员!"
);
throw
new
BaseException
(
"当前账户已禁用,请联系管理员!"
);
}
}
...
...
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