| | |
| | | package com.vci.web.controller; |
| | | |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.corba.common.VCIError; |
| | | import com.vci.frameworkcore.compatibility.ISmFunctionQueryService; |
| | | import com.vci.frameworkcore.enumpck.ResourceControlTypeEnum; |
| | |
| | | */ |
| | | @VciUnCheckRight |
| | | @GetMapping("/treeMyMenu") |
| | | public List<MenuVO> treeMyMenu(TreeQueryObject treeQueryObject) throws VCIError { |
| | | public List<MenuVO> treeMyMenu(TreeQueryObject treeQueryObject) throws PLException { |
| | | return functionQueryService.treeCurrentUserMenu(treeQueryObject, ResourceControlTypeEnum.BS); |
| | | } |
| | | |
| | |
| | | */ |
| | | @VciUnCheckRight |
| | | @GetMapping("/getUIContentByBtmTypeAndId") |
| | | public UIContentVO getUIContentByBtmTypeAndId(@RequestBody TreeQueryObject treeQueryObject) throws VCIError { |
| | | public UIContentVO getUIContentByBtmTypeAndId(@RequestBody TreeQueryObject treeQueryObject) throws PLException { |
| | | return functionQueryService.getUIContentByBtmTypeAndId(treeQueryObject, ResourceControlTypeEnum.BS); |
| | | } |
| | | |