diff --git a/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/UserIrrigationRecordController.java b/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/UserIrrigationRecordController.java index 59ef354..2434c40 100644 --- a/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/UserIrrigationRecordController.java +++ b/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/UserIrrigationRecordController.java @@ -42,7 +42,7 @@ public class UserIrrigationRecordController extends BaseController /** * 查询灌溉记录列表 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:list')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:list')") @GetMapping("/list") @ApiOperation("查询灌溉记录列表") public TableDataInfo list(UserIrrigationRecord userIrrigationRecord) @@ -55,7 +55,7 @@ public class UserIrrigationRecordController extends BaseController /** * 获取用户灌溉记录详细信息列表 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:query')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:query')") @GetMapping(value = "/list/{cardNumber}") @ApiOperation("获取灌溉记录详细信息") public AjaxResult getInfo(@PathVariable("cardNumber") String cardNumber) @@ -66,7 +66,7 @@ public class UserIrrigationRecordController extends BaseController /** * 获取用户灌溉记录展示详细信息列表 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:list')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:list')") @GetMapping("/list/show") @ApiOperation("查询灌溉记录列表") public TableDataInfo Showlist(UserIrrigationRecord userIrrigationRecord) @@ -94,7 +94,7 @@ public class UserIrrigationRecordController extends BaseController * 导出灌溉记录列表 */ @ApiOperation("导出灌溉记录列表") - @PreAuthorize("@ss.hasPermi('rechargecard:record:export')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:export')") @PostMapping("/export") public void export(HttpServletResponse response, UserIrrigationRecord userIrrigationRecord) { @@ -106,7 +106,7 @@ public class UserIrrigationRecordController extends BaseController /** * 获取灌溉记录详细信息 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:query')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:query')") @GetMapping(value = "/{id}") @ApiOperation("获取灌溉记录详细信息") public AjaxResult getInfo(@PathVariable("id") Long id) @@ -117,7 +117,7 @@ public class UserIrrigationRecordController extends BaseController /** * 新增灌溉记录 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:add')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:add')") @PostMapping @ApiOperation("新增灌溉记录") public AjaxResult add(@RequestBody UserIrrigationRecord userIrrigationRecord) @@ -128,7 +128,7 @@ public class UserIrrigationRecordController extends BaseController /** * 修改灌溉记录 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:edit')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:edit')") @PutMapping @ApiOperation("修改灌溉记录") public AjaxResult edit(@RequestBody UserIrrigationRecord userIrrigationRecord) @@ -139,7 +139,7 @@ public class UserIrrigationRecordController extends BaseController /** * 删除灌溉记录 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:remove')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:remove')") @DeleteMapping("/{ids}") @ApiOperation("删除灌溉记录") public AjaxResult remove(@PathVariable Long[] ids)