Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
4cb698d6
Commit
4cb698d6
authored
Nov 13, 2018
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改页面显示问题
parent
acb1cd54
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/main/java/cn/stylefeng/guns/modular/system/controller/UserMgrController.java
+2
-1
src/main/webapp/WEB-INF/common/_top_header.html
+0
-1
No files found.
src/main/java/cn/stylefeng/guns/modular/system/controller/UserMgrController.java
View file @
4cb698d6
...
...
@@ -15,6 +15,7 @@
*/
package
cn
.
stylefeng
.
guns
.
modular
.
system
.
controller
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.stylefeng.guns.config.properties.GunsProperties
;
import
cn.stylefeng.guns.core.common.annotion.BussinessLog
;
...
...
@@ -126,7 +127,7 @@ public class UserMgrController extends BaseController {
throw
new
ServiceException
(
BizExceptionEnum
.
REQUEST_NULL
);
}
User
user
=
this
.
userService
.
selectById
(
userId
);
model
.
addA
ttribute
(
user
);
model
.
addA
llAttributes
(
BeanUtil
.
beanToMap
(
user
)
);
model
.
addAttribute
(
"roleName"
,
ConstantFactory
.
me
().
getRoleName
(
user
.
getRoleid
()));
model
.
addAttribute
(
"deptName"
,
ConstantFactory
.
me
().
getDeptName
(
user
.
getDeptid
()));
LogObjectHolder
.
me
().
set
(
user
);
...
...
src/main/webapp/WEB-INF/common/_top_header.html
View file @
4cb698d6
...
...
@@ -59,7 +59,6 @@
</li>
<li
role=
"separator"
class=
"divider"
></li>
<li><a
href=
"${ctxPath}/mgr/user_info"
><i
class=
"ti-user"
></i>
编辑资料
</a></li>
<li
role=
"separator"
class=
"divider"
></li>
<li><a
href=
"${ctxPath}/mgr/user_chpwd"
><i
class=
"ti-settings"
></i>
修改密码
</a></li>
<li
role=
"separator"
class=
"divider"
></li>
<li><a
href=
"${ctxPath}/logout"
><i
class=
"fa fa-power-off"
></i>
退出
</a></li>
...
...
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