优化
This commit is contained in:
@@ -24,4 +24,10 @@ public interface WarehouseSupplierClient {
|
||||
|
||||
record Snapshot(long supplierId, String name, String category, String status,
|
||||
List<String> carrierCodes) {}
|
||||
|
||||
@GetMapping("/{supplierId}/trucking-contact")
|
||||
ApiResponse<TruckingContact> truckingContact(@RequestHeader("X-Internal-Service-Token") String token,
|
||||
@PathVariable long supplierId, @RequestParam boolean requireActive);
|
||||
|
||||
record TruckingContact(long supplierId, String name, String email) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user