Authored by LUOXC

Revert "寄存上架需要实名认证"

This reverts commit a3cae5f1.
@@ -10,16 +10,13 @@ import com.yohobuy.ufo.model.order.req.SellerOrderComputeReq; @@ -10,16 +10,13 @@ import com.yohobuy.ufo.model.order.req.SellerOrderComputeReq;
10 import com.yohobuy.ufo.model.order.vo.AddressInfo; 10 import com.yohobuy.ufo.model.order.vo.AddressInfo;
11 import com.yohoufo.common.exception.UfoServiceException; 11 import com.yohoufo.common.exception.UfoServiceException;
12 import com.yohoufo.dal.order.model.StorageDeposit; 12 import com.yohoufo.dal.order.model.StorageDeposit;
13 -import com.yohoufo.order.constants.ClientSpecialSemanticCode;  
14 import com.yohoufo.order.model.QuickDeliverOrderContext; 13 import com.yohoufo.order.model.QuickDeliverOrderContext;
15 import com.yohoufo.order.service.DepositService; 14 import com.yohoufo.order.service.DepositService;
16 import com.yohoufo.order.service.IBuyerOrderMetaService; 15 import com.yohoufo.order.service.IBuyerOrderMetaService;
17 -import com.yohoufo.order.service.proxy.UserProxyService;  
18 import com.yohoufo.order.service.seller.PublishProcessor; 16 import com.yohoufo.order.service.seller.PublishProcessor;
19 import com.yohoufo.order.service.seller.SkupService; 17 import com.yohoufo.order.service.seller.SkupService;
20 import com.yohoufo.order.service.seller.processor.PriceComputePrepareProcessor; 18 import com.yohoufo.order.service.seller.processor.PriceComputePrepareProcessor;
21 import com.yohoufo.order.utils.LoggerUtils; 19 import com.yohoufo.order.utils.LoggerUtils;
22 -import com.yohoufo.order.utils.ServiceExceptions;  
23 import org.apache.commons.collections.CollectionUtils; 20 import org.apache.commons.collections.CollectionUtils;
24 import org.slf4j.Logger; 21 import org.slf4j.Logger;
25 import org.springframework.beans.factory.annotation.Autowired; 22 import org.springframework.beans.factory.annotation.Autowired;
@@ -44,9 +41,6 @@ public class QuickDeliverPublishProcessor implements PublishProcessor<QuickDeliv @@ -44,9 +41,6 @@ public class QuickDeliverPublishProcessor implements PublishProcessor<QuickDeliv
44 @Autowired 41 @Autowired
45 private SkupService skupService; 42 private SkupService skupService;
46 43
47 - @Autowired  
48 - private UserProxyService userProxyService;  
49 -  
50 @Override 44 @Override
51 public QuickDeliverOrderContext buildPublishCtx(QuickDeliverOrderSubmitReq qdosr) { 45 public QuickDeliverOrderContext buildPublishCtx(QuickDeliverOrderSubmitReq qdosr) {
52 46
@@ -68,10 +62,6 @@ public class QuickDeliverPublishProcessor implements PublishProcessor<QuickDeliv @@ -68,10 +62,6 @@ public class QuickDeliverPublishProcessor implements PublishProcessor<QuickDeliv
68 logger.warn("in buildSellerOrderContext storageId not exist in prd service , uid {}, storageId {}", uid, storageId); 62 logger.warn("in buildSellerOrderContext storageId not exist in prd service , uid {}, storageId {}", uid, storageId);
69 throw new ServiceException(ServiceError.ORDER_ORDERS_GOODS_IS_EMPTY); 63 throw new ServiceException(ServiceError.ORDER_ORDERS_GOODS_IS_EMPTY);
70 } 64 }
71 - if (!userProxyService.checkRealNameCert(uid)){  
72 - logger.warn("QuickDeliverPublishProcessor checkRealNameCert result false, uid {}", uid);  
73 - throw new UfoServiceException(ClientSpecialSemanticCode.needRealName, "请完成实名认证后操作");  
74 - }  
75 goodsInfo.setTargetSkupStatus(SkupStatus.CAN_SELL); 65 goodsInfo.setTargetSkupStatus(SkupStatus.CAN_SELL);
76 66
77 // query deposit code is exist in system 67 // query deposit code is exist in system