develop
yuemian 2024-10-14 17:41:02 +08:00
parent 57a678272e
commit e82f8a6a7d
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class ApiController {
@GetMapping("/top")
@Operation(summary = "查询TOP")
public List<TopModel> top(@RequestParam(value = "type") String type,
public List<TopModel> 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,