Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
Project
Project
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
耿迪迪
gassafety-progress
Commits
a8669bb9
Commit
a8669bb9
authored
Sep 21, 2023
by
lizhichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
默认中心点,加载数据库配置
parent
4872b90a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
SysLoginController.java
.../com/zehong/web/controller/system/SysLoginController.java
+2
-4
No files found.
gassafetyprogress-admin/src/main/java/com/zehong/web/controller/system/SysLoginController.java
View file @
a8669bb9
...
...
@@ -81,15 +81,13 @@ public class SysLoginController
Set
<
String
>
roles
=
permissionService
.
getRolePermission
(
user
);
// 权限集合
Set
<
String
>
permissions
=
permissionService
.
getMenuPermission
(
user
);
HashMap
hashMap
=
new
HashMap
();
hashMap
.
put
(
"map_center"
,
"[118.168541,39.838353]"
);
hashMap
.
put
(
"prod_test"
,
"prod"
);
AjaxResult
ajax
=
AjaxResult
.
success
();
ajax
.
put
(
"user"
,
user
);
ajax
.
put
(
"roles"
,
roles
);
ajax
.
put
(
"permissions"
,
permissions
);
ajax
.
put
(
"systemSetting"
,
hashMap
);
ajax
.
put
(
"posts"
,
iSysPostService
.
getPostListByUserId
(
user
.
getUserId
()));
ajax
.
put
(
"systemSetting"
,
systemSetting
.
getSystemWebSetting
());
return
ajax
;
}
...
...
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