From 5b237740ab4ef64bc95faa2ebd9af5f3671e4453 Mon Sep 17 00:00:00 2001
From: zepengdev <lzpsmith@outlook.com>
Date: Wed, 30 Jul 2025 10:49:28 +0800
Subject: [PATCH] feat: 商户端的商品查询增加价格排序

---
 oying-system/src/main/java/com/oying/modules/pc/product/rest/ProductMerchantController.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/pc/product/rest/ProductMerchantController.java b/oying-system/src/main/java/com/oying/modules/pc/product/rest/ProductMerchantController.java
index 800f96f..899e619 100644
--- a/oying-system/src/main/java/com/oying/modules/pc/product/rest/ProductMerchantController.java
+++ b/oying-system/src/main/java/com/oying/modules/pc/product/rest/ProductMerchantController.java
@@ -124,6 +124,16 @@
         return ResponseEntity.noContent().build();
     }
 
+    @PostMapping(value = "/delete")
+    @Log("批量删除商品")
+    @ApiOperation("批量删除商品")
+    //@PreAuthorize("@el.check('merchant:product:batchDel') " +
+    //        "and @storeMerchantOwnershipService.check(#storeId)")
+    public ResponseEntity<?> delProduct(@ApiParam(value = "传ID数组[]") @RequestBody List<Long> ids) {
+        productMerchantService.batchDelete(ids);
+        return ResponseEntity.noContent().build();
+    }
+
     @PutMapping(value = "/{productId}/on")
     @Log("上架商品")
     @ApiOperation("上架商品")

--
Gitblit v1.9.3