From e82f8a6a7d02813ae086762a5bce23e0162dca36 Mon Sep 17 00:00:00 2001 From: yuemian Date: Mon, 14 Oct 2024 17:41:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/bocloud/cms/booter/controller/ApiController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bocloud.cms.booter/src/main/java/com/bocloud/cms/booter/controller/ApiController.java b/bocloud.cms.booter/src/main/java/com/bocloud/cms/booter/controller/ApiController.java index ed74a35..72048b7 100644 --- a/bocloud.cms.booter/src/main/java/com/bocloud/cms/booter/controller/ApiController.java +++ b/bocloud.cms.booter/src/main/java/com/bocloud/cms/booter/controller/ApiController.java @@ -31,7 +31,7 @@ public class ApiController { @GetMapping("/top") @Operation(summary = "查询TOP") - public List top(@RequestParam(value = "type") String type, + public List top(@RequestParam(value = "type", required = false) String type, @RequestParam(value = "vendorId", required = false) Long vendorId, @RequestParam(value = "vendorType", required = false) String vendorType, @RequestParam(value = "limit", required = false, defaultValue = "5") Integer limit,