| | |
| | | package com.vci.web.controller; |
| | | |
| | | import com.vci.corba.common.VCIError; |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.frameworkcore.compatibility.ISmFunctionQueryService; |
| | | import com.vci.frameworkcore.enumpck.ResourceControlTypeEnum; |
| | | import com.vci.frameworkcore.pagemodel.MenuVO; |
| | | import com.vci.starter.web.annotation.controller.VciUnCheckRight; |
| | | import com.vci.starter.web.pagemodel.BaseResult; |
| | | import com.vci.starter.web.pagemodel.Tree; |
| | | import com.vci.starter.web.pagemodel.TreeQueryObject; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | |
| | | @VciUnCheckRight |
| | | @GetMapping("/getTreeMyMenu") |
| | | @ResponseBody |
| | | public List<MenuVO> getTreeMyMenu(TreeQueryObject treeQueryObject) throws VCIError { |
| | | public List<MenuVO> getTreeMyMenu(TreeQueryObject treeQueryObject) throws PLException { |
| | | return functionQueryService.treeCurrentUserMenu(treeQueryObject, ResourceControlTypeEnum.BS); |
| | | } |
| | | } |