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,