Authored by tanling

不检查yhSecret

@@ -65,7 +65,7 @@ public class FastDeliveryProxyService { @@ -65,7 +65,7 @@ public class FastDeliveryProxyService {
65 FastDeliverySellerAccessInfo sellerAccessInfo = getFastDeliverySellerInfo(sellerUid); 65 FastDeliverySellerAccessInfo sellerAccessInfo = getFastDeliverySellerInfo(sellerUid);
66 logger.info("fast delivery lockSkup, sellerUid {}, skup {}, sellerAccessInfo {}", sellerUid, skup, sellerAccessInfo); 66 logger.info("fast delivery lockSkup, sellerUid {}, skup {}, sellerAccessInfo {}", sellerUid, skup, sellerAccessInfo);
67 67
68 - if (sellerAccessInfo == null || StringUtils.isEmpty(sellerAccessInfo.getLockSkupUrl()) || StringUtils.isEmpty(sellerAccessInfo.getYhSecret())){ 68 + if (sellerAccessInfo == null || StringUtils.isEmpty(sellerAccessInfo.getLockSkupUrl())){
69 return new ApiResponse(); 69 return new ApiResponse();
70 } 70 }
71 logger.info("fast delivery lockSkup, skup {}", skup); 71 logger.info("fast delivery lockSkup, skup {}", skup);
@@ -87,7 +87,7 @@ public class FastDeliveryProxyService { @@ -87,7 +87,7 @@ public class FastDeliveryProxyService {
87 FastDeliverySellerAccessInfo sellerAccessInfo = getFastDeliverySellerInfo(sellerUid); 87 FastDeliverySellerAccessInfo sellerAccessInfo = getFastDeliverySellerInfo(sellerUid);
88 logger.info("fast delivery order, sellerUid {}, skup {}, waybillCode {}, sellerAccessInfo {}",sellerUid, skup, waybillCode, sellerAccessInfo); 88 logger.info("fast delivery order, sellerUid {}, skup {}, waybillCode {}, sellerAccessInfo {}",sellerUid, skup, waybillCode, sellerAccessInfo);
89 89
90 - if (sellerAccessInfo == null || StringUtils.isEmpty(sellerAccessInfo.getDeliveryUrl()) || StringUtils.isEmpty(sellerAccessInfo.getYhSecret())){ 90 + if (sellerAccessInfo == null || StringUtils.isEmpty(sellerAccessInfo.getDeliveryUrl()) ){
91 return new ApiResponse(); 91 return new ApiResponse();
92 } 92 }
93 93
@@ -109,7 +109,7 @@ public class FastDeliveryProxyService { @@ -109,7 +109,7 @@ public class FastDeliveryProxyService {
109 FastDeliverySellerAccessInfo sellerAccessInfo = getFastDeliverySellerInfo(sellerUid); 109 FastDeliverySellerAccessInfo sellerAccessInfo = getFastDeliverySellerInfo(sellerUid);
110 logger.info("fast delivery cancel, sellerUid {}, skup {}, sellerAccessInfo {}",sellerUid, skup, sellerAccessInfo); 110 logger.info("fast delivery cancel, sellerUid {}, skup {}, sellerAccessInfo {}",sellerUid, skup, sellerAccessInfo);
111 111
112 - if (sellerAccessInfo == null || StringUtils.isEmpty(sellerAccessInfo.getUnlockSkupUrl()) || StringUtils.isEmpty(sellerAccessInfo.getYhSecret())){ 112 + if (sellerAccessInfo == null || StringUtils.isEmpty(sellerAccessInfo.getUnlockSkupUrl())){
113 return new ApiResponse(); 113 return new ApiResponse();
114 } 114 }
115 115