指标库新增web页面树形接口

This commit is contained in:
ly19960718 2021-04-15 14:57:27 +08:00
parent 88193bd0a8
commit 504ed6351c

View File

@ -30,7 +30,8 @@ public class indexWebController extends DefaultBaseController {
@GetMapping("indexweb") @GetMapping("indexweb")
public ModelAndView indexweb(){ public ModelAndView indexweb(){
ModelAndView mv = new ModelAndView("index"); ModelAndView mv = new ModelAndView("index");
mv.addObject("userName",securityComponent.getCurrentUserIdInfo().getUserNameValue()); mv.addObject("userName",securityComponent.getCurrentUser().getUserName());
mv.addObject("userUserName",securityComponent.getCurrentUser().getUserUsername());
return mv; return mv;
} }