From 01d6fa48a0de7a21988e89f71721b6b85e53b517 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期四, 06 三月 2025 16:33:53 +0800
Subject: [PATCH] 去掉资讯图片必填限制

---
 ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/management/MgtGoodsGroupPurchaseController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/management/MgtGoodsGroupPurchaseController.java b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/management/MgtGoodsGroupPurchaseController.java
index 3537fb2..af81a5d 100644
--- a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/management/MgtGoodsGroupPurchaseController.java
+++ b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/management/MgtGoodsGroupPurchaseController.java
@@ -47,7 +47,7 @@
     @ApiOperation(value = "获取团购商品列表的分页数据", notes = "获取团购商品列表的分页数据")
     @PostMapping("/page")
     public R<PageDTO<GoodsGroupPurchaseVO>> getGoodsGroupPurchasePage(
-            GoodsGroupPurchaseQuery query) {
+            @Validated @RequestBody GoodsGroupPurchaseQuery query) {
         return R.ok(goodsGroupPurchaseService.getGoodsGroupPurchasePage(query));
     }
 

--
Gitblit v1.7.1