From 4d86269a103b9530ff3bd46836e0e89a3e43e42b Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期三, 24 九月 2025 17:20:21 +0800 Subject: [PATCH] 小程序接口修改 --- ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/TSysProductIntroductionController.java | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/TSysProductIntroductionController.java b/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/TSysProductIntroductionController.java index c0b9f22..a2d1793 100644 --- a/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/TSysProductIntroductionController.java +++ b/ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/TSysProductIntroductionController.java @@ -45,11 +45,7 @@ @ApiOperation(value = "获取产品介绍分页列表") @PostMapping(value = "/pageList") public R<PageInfo<TSysProductIntroduction>> pageList(@RequestBody TSysProductIntroductionQuery query) { - Integer roleType = tokenService.getLoginUser().getUser().getRoleType(); - if(roleType == 5){ - query.setRoleType(roleType); - } - return R.ok(sysProductIntroductionService.pageList(query)); + return R.ok(sysProductIntroductionService.pageListApp(query)); } /** -- Gitblit v1.7.1