From f659a0562034d75942bcc5bf6962f333d4359f8e Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Wed, 14 Apr 2021 14:45:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E6=A0=87=E5=BA=93=E6=96=B0=E5=A2=9Ewe?= =?UTF-8?q?b=E9=A1=B5=E9=9D=A2=E6=A0=91=E5=BD=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/api/indexlib/IndexLibController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/tenlion/twoduty/controller/api/indexlib/IndexLibController.java b/src/main/java/com/tenlion/twoduty/controller/api/indexlib/IndexLibController.java index 9249f80..cc2e217 100644 --- a/src/main/java/com/tenlion/twoduty/controller/api/indexlib/IndexLibController.java +++ b/src/main/java/com/tenlion/twoduty/controller/api/indexlib/IndexLibController.java @@ -52,13 +52,13 @@ public class IndexLibController extends DefaultBaseController { @ApiOperation(value = "web页面指标库树形列表", notes = "web页面指标库树形列表接口") @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) - @GetMapping("listztreeweb") - public List listZTreeWeb() { + @GetMapping("listztreeweb/{indexLibParentId}") + public List listZTreeWeb(@PathVariable("indexLibParentId") String indexLibParentId ) { Map params = requestParams(); - String indexLibParentId = "0"; + /* String indexLibParentId = "0"; if (!StringUtils.isBlank(params.get("id") == null ? null : params.get("id").toString())) { indexLibParentId = params.get("id").toString(); - } + }*/ params.put("indexLibParentId",indexLibParentId); return indexLibService.listZTreeWeb(params); }