Authored by chenchao

add log

1 package com.yohoufo.order.service.proxy; 1 package com.yohoufo.order.service.proxy;
2 2
  3 +import com.yohobuy.ufo.model.order.common.SkupStatus;
3 import com.yohoufo.common.ApiResponse; 4 import com.yohoufo.common.ApiResponse;
4 import com.yohoufo.common.caller.UfoServiceCaller; 5 import com.yohoufo.common.caller.UfoServiceCaller;
5 import com.yohoufo.common.exception.GatewayException; 6 import com.yohoufo.common.exception.GatewayException;
6 -import com.yohoufo.dal.order.SellerOrderGoodsMapper;  
7 import com.yohoufo.dal.order.model.SellerOrderGoods; 7 import com.yohoufo.dal.order.model.SellerOrderGoods;
8 -import com.yohobuy.ufo.model.order.common.SkupStatus;  
9 import com.yohoufo.product.model.ProductInfo; 8 import com.yohoufo.product.model.ProductInfo;
10 import com.yohoufo.product.request.StoragePriceBo; 9 import com.yohoufo.product.request.StoragePriceBo;
11 import com.yohoufo.product.response.ProductDetailResp; 10 import com.yohoufo.product.response.ProductDetailResp;
12 import com.yohoufo.product.response.StorageDataResp; 11 import com.yohoufo.product.response.StorageDataResp;
13 -import io.protostuff.LimitedInputStream;  
14 import org.slf4j.Logger; 12 import org.slf4j.Logger;
15 import org.slf4j.LoggerFactory; 13 import org.slf4j.LoggerFactory;
16 import org.springframework.beans.factory.annotation.Autowired; 14 import org.springframework.beans.factory.annotation.Autowired;
@@ -92,7 +90,7 @@ public class ProductProxyService { @@ -92,7 +90,7 @@ public class ProductProxyService {
92 90
93 public StorageDataResp getStorageData(int storageId){ 91 public StorageDataResp getStorageData(int storageId){
94 StorageDataResp prdResp = ufoServiceCaller.call("ufo.product.storage.data", storageId); 92 StorageDataResp prdResp = ufoServiceCaller.call("ufo.product.storage.data", storageId);
95 - 93 + logger.info("in getStorageData storageId {} prdResp {}", storageId, prdResp);
96 return prdResp; 94 return prdResp;
97 } 95 }
98 96