From 93cfe891a02766e0c56c5781eb6ca8a5cc5fb16f Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 31 七月 2024 11:43:13 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/SmFunctionController.java | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/SmFunctionController.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/SmFunctionController.java index a2272a4..87f6987 100644 --- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/SmFunctionController.java +++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/SmFunctionController.java @@ -3,11 +3,11 @@ 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.frameworkcore.pagemodel.SmFunctionVO; +import com.vci.pagemodel.MenuVO; +import com.vci.pagemodel.SmFunctionVO; import com.vci.starter.web.annotation.controller.VciUnCheckRight; import com.vci.starter.web.pagemodel.*; -import com.vci.web.pageModel.UIContentVO; +import com.vci.pagemodel.UIContentVO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; @@ -35,7 +35,6 @@ * @param treeQueryObject 鏍戞煡璇㈠璞� * @return 鏍戣妭鐐癸紝鍑虹幇閿欒浼氬湪寮傚父澶勭悊鍣ㄤ腑缁熶竴杩斿洖Json */ - @VciUnCheckRight @GetMapping("/treeMyMenu") public List<MenuVO> treeMyMenu(TreeQueryObject treeQueryObject) throws PLException { return functionQueryService.treeCurrentUserMenu(treeQueryObject, ResourceControlTypeEnum.BS); @@ -92,7 +91,15 @@ return new DataGrid<>(); } - - - + /** + * 鑾峰彇褰撳墠鐢ㄦ埛鐨勮彍鍗� + * @param treeQueryObject 鏍戞煡璇㈠璞� + * @return 鏍戣妭鐐癸紝鍑虹幇閿欒浼氬湪寮傚父澶勭悊鍣ㄤ腑缁熶竴杩斿洖Json + */ + @VciUnCheckRight + @GetMapping("/getTreeMyMenu") + @ResponseBody + public List<MenuVO> getTreeMyMenu(TreeQueryObject treeQueryObject) throws PLException { + return functionQueryService.treeCurrentUserMenu(treeQueryObject, ResourceControlTypeEnum.BS); + } } -- Gitblit v1.9.3