Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-miniappserver
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 8e9e402a
authored
Jul 18, 2023
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开发1.22.0 版本需求 禁止特殊登陆状态的用户登录小程序
1 parent
8ae24003
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/main/java/cn/com/glsx/app/modules/service/LoginService.java
src/main/java/cn/com/glsx/app/modules/service/LoginService.java
View file @
8e9e402
...
@@ -64,6 +64,7 @@ public class LoginService {
...
@@ -64,6 +64,7 @@ public class LoginService {
if
(
loginBO
.
getLoginType
()
==
1
)
{
if
(
loginBO
.
getLoginType
()
==
1
)
{
//密码登录
//密码登录
R
<
SimpleUser
>
userR
=
authFeignClient
.
login
(
loginBO
.
getAccount
(),
loginBO
.
getCode
(),
SpecialMarkEnum
.
MINI_SPECIAL_LOGIN_FLAG
.
getName
());
R
<
SimpleUser
>
userR
=
authFeignClient
.
login
(
loginBO
.
getAccount
(),
loginBO
.
getCode
(),
SpecialMarkEnum
.
MINI_SPECIAL_LOGIN_FLAG
.
getName
());
log
.
info
(
"userR==="
+
JSONUtil
.
toJsonStr
(
userR
));
SimpleUser
simpleUser
=
userR
.
getData
(
SimpleUser
.
class
);
SimpleUser
simpleUser
=
userR
.
getData
(
SimpleUser
.
class
);
if
(!
userR
.
isSuccess
()
||
simpleUser
==
null
)
{
if
(!
userR
.
isSuccess
()
||
simpleUser
==
null
)
{
throw
new
AppServerException
(
userR
.
getMessage
());
throw
new
AppServerException
(
userR
.
getMessage
());
...
...
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