From d60beb512127f6abd4c2bf52a5e61ab74a934f40 Mon Sep 17 00:00:00 2001 From: mi9688 Date: Thu, 19 Dec 2024 20:14:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9D=83=E9=99=90=E4=B8=8D?= =?UTF-8?q?=E8=B6=B3=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NgInformationWaterUserController.java | 12 ++++++------ .../NgUserRechargeRecordsController.java | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/NgInformationWaterUserController.java b/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/NgInformationWaterUserController.java index 178bb70..801a0a1 100644 --- a/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/NgInformationWaterUserController.java +++ b/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/NgInformationWaterUserController.java @@ -35,7 +35,7 @@ public class NgInformationWaterUserController extends BaseController /** * 查询用水户信息列表 */ -@PreAuthorize("@ss.hasPermi('iot:user:list')") +//@PreAuthorize("@ss.hasPermi('iot:user:list')") @GetMapping("/list") @ApiOperation("查询用水户信息列表") public TableDataInfo list(NgInformationWaterUser ngInformationWaterUser) @@ -49,7 +49,7 @@ public class NgInformationWaterUserController extends BaseController * 导出用水户信息列表 */ @ApiOperation("导出用水户信息列表") - @PreAuthorize("@ss.hasPermi('iot:user:export')") +// @PreAuthorize("@ss.hasPermi('iot:user:export')") @PostMapping("/export") public void export(HttpServletResponse response, NgInformationWaterUser ngInformationWaterUser) { @@ -61,7 +61,7 @@ public class NgInformationWaterUserController extends BaseController /** * 获取用水户信息详细信息 */ - @PreAuthorize("@ss.hasPermi('iot:user:query')") +// @PreAuthorize("@ss.hasPermi('iot:user:query')") @GetMapping(value = "/{waterUserId}") @ApiOperation("获取用水户信息详细信息") public AjaxResult getInfo(@PathVariable("waterUserId") Long waterUserId) @@ -72,7 +72,7 @@ public class NgInformationWaterUserController extends BaseController /** * 新增用水户信息 */ - @PreAuthorize("@ss.hasPermi('iot:user:add')") +// @PreAuthorize("@ss.hasPermi('iot:user:add')") @PostMapping @ApiOperation("新增用水户信息") public AjaxResult add(@RequestBody NgInformationWaterUser ngInformationWaterUser) @@ -84,7 +84,7 @@ public class NgInformationWaterUserController extends BaseController /** * 修改用水户信息 */ - @PreAuthorize("@ss.hasPermi('iot:user:edit')") +// @PreAuthorize("@ss.hasPermi('iot:user:edit')") @PutMapping @ApiOperation("修改用水户信息") public AjaxResult edit(@RequestBody NgInformationWaterUser ngInformationWaterUser) @@ -95,7 +95,7 @@ public class NgInformationWaterUserController extends BaseController /** * 删除用水户信息 */ - @PreAuthorize("@ss.hasPermi('iot:user:remove')") +// @PreAuthorize("@ss.hasPermi('iot:user:remove')") @DeleteMapping("/{waterUserIds}") @ApiOperation("删除用水户信息") public AjaxResult remove(@PathVariable Long[] waterUserIds) diff --git a/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/NgUserRechargeRecordsController.java b/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/NgUserRechargeRecordsController.java index d84eb26..99b8b61 100644 --- a/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/NgUserRechargeRecordsController.java +++ b/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/NgUserRechargeRecordsController.java @@ -41,7 +41,7 @@ public class NgUserRechargeRecordsController extends BaseController /** * 查询用户充值记录列表 */ - @PreAuthorize("@ss.hasPermi('rechargecard:records:list')") +// @PreAuthorize("@ss.hasPermi('rechargecard:records:list')") @GetMapping("/list") @ApiOperation("查询用户充值记录列表") public TableDataInfo list(NgUserRechargeRecords ngUserRechargeRecords) @@ -55,7 +55,7 @@ public class NgUserRechargeRecordsController extends BaseController * 导出用户充值记录列表 */ @ApiOperation("导出用户充值记录列表") - @PreAuthorize("@ss.hasPermi('rechargecard:records:export')") +// @PreAuthorize("@ss.hasPermi('rechargecard:records:export')") @PostMapping("/export") public void export(HttpServletResponse response, NgUserRechargeRecords ngUserRechargeRecords) { @@ -67,7 +67,7 @@ public class NgUserRechargeRecordsController extends BaseController /** * 获取用户充值记录详细信息 */ - @PreAuthorize("@ss.hasPermi('rechargecard:records:query')") +// @PreAuthorize("@ss.hasPermi('rechargecard:records:query')") @GetMapping(value = "/{userId}") @ApiOperation("获取用户充值记录详细信息") public AjaxResult getInfo(@PathVariable("userId") Long userId) @@ -78,7 +78,7 @@ public class NgUserRechargeRecordsController extends BaseController /** * 新增用户充值记录 */ - @PreAuthorize("@ss.hasPermi('rechargecard:records:add')") +// @PreAuthorize("@ss.hasPermi('rechargecard:records:add')") @PostMapping @ApiOperation("新增用户充值记录") public AjaxResult add(@RequestBody NgUserRechargeRecords ngUserRechargeRecords) @@ -89,7 +89,7 @@ public class NgUserRechargeRecordsController extends BaseController /** * 修改用户充值记录 */ - @PreAuthorize("@ss.hasPermi('rechargecard:records:edit')") +// @PreAuthorize("@ss.hasPermi('rechargecard:records:edit')") @PutMapping @ApiOperation("修改用户充值记录") public AjaxResult edit(@RequestBody NgUserRechargeRecords ngUserRechargeRecords) @@ -100,7 +100,7 @@ public class NgUserRechargeRecordsController extends BaseController /** * 删除用户充值记录 */ - @PreAuthorize("@ss.hasPermi('rechargecard:records:remove')") +// @PreAuthorize("@ss.hasPermi('rechargecard:records:remove')") @DeleteMapping("/{ids}") @ApiOperation("删除用户充值记录") public AjaxResult remove(@PathVariable Long[] ids)