refactor(qms): 优化库存检验申请接口调用
- 将硬编码的URL路径替换为配置化的主机地址和端点变量 - 提高代码可维护性并支持环境配置灵活调整 - 统一外部系统接口调用的URL构建方式
This commit is contained in:
parent
cd62c739e1
commit
9400e241b8
|
|
@ -175,7 +175,7 @@ public class QmsService {
|
|||
HttpEntity<ExternalInventoryInspectionApplyQO> requestEntity = new HttpEntity<>(apply, headers);
|
||||
|
||||
ResponseEntity<ApiResult<Void>> response = restTemplate.exchange(
|
||||
qmsUrl + "/external/incoming-inspection-task/inventory-apply",
|
||||
qmsHost + iqcInventoryApplyUrl,
|
||||
HttpMethod.POST,
|
||||
requestEntity,
|
||||
new ParameterizedTypeReference<ApiResult<Void>>() {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue