bug fix: 修复按名查找路由问题

This commit is contained in:
myh 2023-11-14 15:33:07 +08:00
parent 308241d5d2
commit 3b6b016091

View File

@ -43,7 +43,7 @@ public class MerchantsController {
return merchantsService.findAllMerchants();
}
@GetMapping("/find/name}")
@GetMapping("/find/name")
public Optional<Merchants> getMerchantsByName(@RequestParam("name") String name) {
return merchantsService.findByName(name);
}