develop
parent
57a678272e
commit
e82f8a6a7d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue