From af9faffae7eb096e21c342395a480837f031b0ef Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期三, 23 七月 2025 18:32:15 +0800 Subject: [PATCH] 修改bug --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/OrderController.java | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/OrderController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/OrderController.java index d69021d..4532f5b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/OrderController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/OrderController.java @@ -27,7 +27,7 @@ */ @PostMapping("/getOrderPage") @ApiOperation(value = "订单分页") - @PreAuthorize("@ss.hasPermi('order:manage')") +// @PreAuthorize("@ss.hasPermi('order:manage')") public R<IPage<OrderPageVO>> getOrderPage(@RequestBody OrderPageDTO dto) { return R.ok(orderService.getOrderPage(dto)); } @@ -36,7 +36,7 @@ */ @GetMapping("/detail/{id}") @ApiOperation(value = "查看详情-基础信息") - @PreAuthorize("@ss.hasPermi('order:manage')") +// @PreAuthorize("@ss.hasPermi('order:manage')") public R<OrderDetailVO> detail(@PathVariable("id") String id) { return R.ok(orderService.detail(id)); } @@ -46,7 +46,7 @@ */ @GetMapping("/business/{id}") @ApiOperation(value = "查看详情-企业工商信息") - @PreAuthorize("@ss.hasPermi('order:manage')") +// @PreAuthorize("@ss.hasPermi('order:manage')") public R<BusinessVO> business(@PathVariable("id") String id) { return R.ok(orderService.business(id)); } @@ -57,7 +57,7 @@ */ @GetMapping("/error/{id}") @ApiOperation(value = "查看详情-企业异常信息") - @PreAuthorize("@ss.hasPermi('order:manage')") +// @PreAuthorize("@ss.hasPermi('order:manage')") public R error(@PathVariable("id") String id) { return orderService.error(id); } @@ -66,7 +66,7 @@ */ @GetMapping("/change/{id}") @ApiOperation(value = "查看详情-企业变更信息") - @PreAuthorize("@ss.hasPermi('order:manage')") +// @PreAuthorize("@ss.hasPermi('order:manage')") public R change(@PathVariable("id") String id) { return orderService.change(id); } @@ -75,7 +75,7 @@ */ @GetMapping("/tax/{id}") @ApiOperation(value = "查看详情-企业纳税信息") - @PreAuthorize("@ss.hasPermi('order:manage')") +// @PreAuthorize("@ss.hasPermi('order:manage')") public R tax(@PathVariable("id") String id) { return orderService.tax(id); } @@ -85,7 +85,7 @@ */ @GetMapping("/invoice/{id}") @ApiOperation(value = "查看详情-企业发票信息") - @PreAuthorize("@ss.hasPermi('order:manage')") +// @PreAuthorize("@ss.hasPermi('order:manage')") public R invoice(@PathVariable("id") String id) { return orderService.invoice(id); } @@ -94,7 +94,7 @@ */ @DeleteMapping("/delete/{id}") @ApiOperation(value = "删除") - @PreAuthorize("@ss.hasPermi('order:manage')") +// @PreAuthorize("@ss.hasPermi('order:manage')") public R delete(@PathVariable("id") String id) { orderService.delete(id); return R.ok(); @@ -106,7 +106,7 @@ */ @PutMapping("/shelves/{id}") @ApiOperation(value = "上、下架") - @PreAuthorize("@ss.hasPermi('order:manage')") +// @PreAuthorize("@ss.hasPermi('order:manage')") public R shelves(@PathVariable("id") String id) { orderService.shelves(id); return R.ok(); @@ -117,7 +117,7 @@ */ @PutMapping("/cancel/{id}") @ApiOperation(value = "取消交易") - @PreAuthorize("@ss.hasPermi('order:manage')") +// @PreAuthorize("@ss.hasPermi('order:manage')") public R cancel(@PathVariable("id") String id) { orderService.cancel(id); return R.ok(); -- Gitblit v1.7.1