...
|
...
|
@@ -68,8 +68,13 @@ public class FastDeliveryProxyService { |
|
|
return new ApiResponse();
|
|
|
}
|
|
|
logger.info("fast delivery lockSkup, skup {}, url {}", skup, sellerAccessInfo.getLockSkupUrl());
|
|
|
ApiResponse result = baseServiceCaller.doPost("fast.delivery.lockSkup", sellerAccessInfo.getLockSkupUrl(),
|
|
|
getParam(skup, null, null, sellerAccessInfo.getYhSecret()));
|
|
|
ApiResponse result = null;
|
|
|
try{
|
|
|
result = baseServiceCaller.doPost("fast.delivery.lockSkup", sellerAccessInfo.getLockSkupUrl(),
|
|
|
getParam(skup, null, null, sellerAccessInfo.getYhSecret()));
|
|
|
}catch (Exception e){
|
|
|
throw new ServiceException(403, "扣减库存失败");
|
|
|
}
|
|
|
logger.info("fast delivery lockSkup, skup {}, result {}", skup, result);
|
|
|
|
|
|
return result;
|
...
|
...
|
|