Skip to content

Commit

Permalink
fix: 常用菜单不能保存的bug(升级后改成session里获取uid造成的)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizzercn committed Apr 28, 2017
1 parent 3dae4eb commit 9142956
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -322,7 +322,7 @@ public Object modeDo(@Param("mode") String mode, HttpServletRequest req) {
@RequiresAuthentication
public Object customDo(@Param("ids") String ids, HttpServletRequest req) {
try {
userService.update(Chain.make("customMenu", ids), Cnd.where("id", "=", req.getAttribute("uid")));
userService.update(Chain.make("customMenu", ids), Cnd.where("id", "=",StringUtil.getUid()));
Subject subject = SecurityUtils.getSubject();
Sys_user user = (Sys_user) subject.getPrincipal();
if (!Strings.isBlank(ids)) {
Expand Down

0 comments on commit 9142956

Please sign in to comment.