Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
31fc52a0
Commit
31fc52a0
authored
Jul 15, 2022
by
guojx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运维登录相关信息。新版运维登录、运维登录GIC再登录好办
parent
78b12401
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
LoginController.java
...com/gic/haoban/manage/web/controller/LoginController.java
+4
-1
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/LoginController.java
View file @
31fc52a0
...
@@ -566,7 +566,7 @@ public class LoginController extends WebBaseController {
...
@@ -566,7 +566,7 @@ public class LoginController extends WebBaseController {
*/
*/
@RequestMapping
(
"/gic-login-check"
)
@RequestMapping
(
"/gic-login-check"
)
@IgnoreLogin
@IgnoreLogin
public
ModelAndView
gicLogin
(
String
code
,
String
hbEnt
,
String
hbPage
)
{
public
ModelAndView
gicLogin
(
String
code
,
String
hbEnt
,
String
hbPage
,
String
operationUserId
,
String
userName
)
{
logger
.
info
(
"gic登录clerkId={},hbEnt={}"
,
code
,
hbEnt
);
logger
.
info
(
"gic登录clerkId={},hbEnt={}"
,
code
,
hbEnt
);
PowerClerkDTO
clerkDTO
=
this
.
userService
.
haobanLoginBack
(
code
);
PowerClerkDTO
clerkDTO
=
this
.
userService
.
haobanLoginBack
(
code
);
if
(
clerkDTO
==
null
)
{
if
(
clerkDTO
==
null
)
{
...
@@ -582,6 +582,9 @@ public class LoginController extends WebBaseController {
...
@@ -582,6 +582,9 @@ public class LoginController extends WebBaseController {
retMap
.
put
(
"enterpriseId"
,
gicEnterpriseId
);
retMap
.
put
(
"enterpriseId"
,
gicEnterpriseId
);
retMap
.
put
(
"phoneNumber"
,
loginPhoneNumber
);
retMap
.
put
(
"phoneNumber"
,
loginPhoneNumber
);
retMap
.
put
(
"timestamp"
,
System
.
currentTimeMillis
()+
""
)
;
retMap
.
put
(
"timestamp"
,
System
.
currentTimeMillis
()+
""
)
;
//运维登录信息
retMap
.
put
(
"operationUserId"
,
operationUserId
)
;
retMap
.
put
(
"userName"
,
userName
)
;
String
ret
=
JSONObject
.
toJSONString
(
retMap
);
String
ret
=
JSONObject
.
toJSONString
(
retMap
);
AES
aes
=
SecureUtil
.
aes
(
LOGIN_KEY
.
getBytes
());
AES
aes
=
SecureUtil
.
aes
(
LOGIN_KEY
.
getBytes
());
String
random
=
aes
.
encryptHex
(
ret
);
String
random
=
aes
.
encryptHex
(
ret
);
...
...
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