提交
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
package com.baiyue.lastleg.client;
|
||||
|
||||
import com.baiyue.common.core.api.ApiResponse;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import java.util.List;
|
||||
|
||||
/** FBA按数量实收库存的原箱唛只读来源。 */
|
||||
@FeignClient(name="firstleg-service", contextId="firstlegCartonMarksClient", url="${FIRSTLEG_SERVICE_URL:${baiyue.clients.firstleg.url:}}")
|
||||
public interface FirstlegCartonMarksClient {
|
||||
/** 以可信库存来源及客户身份读取有效批次。 */
|
||||
@GetMapping("/internal/firstleg/v1/inbounds/{inboundId}/existing-carton-marks")
|
||||
ApiResponse<List<String>> marks(@RequestHeader("X-Internal-Service-Token") String token,
|
||||
@PathVariable("inboundId") long inboundId, @RequestParam("customerId") long customerId,
|
||||
@RequestParam("inboundCode") String inboundCode);
|
||||
}
|
||||
Reference in New Issue
Block a user