bug fix: 修复按名查找路由问题
This commit is contained in:
parent
308241d5d2
commit
3b6b016091
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user