...
|
...
|
@@ -2,6 +2,7 @@ package com.yohoufo.order.service.support; |
|
|
|
|
|
import com.yoho.tools.common.beans.ApiResponse;
|
|
|
import com.yohoufo.common.caller.UfoServiceCaller;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.math.NumberUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
...
|
...
|
@@ -13,6 +14,7 @@ import org.springframework.stereotype.Component; |
|
|
* @date 2018/12/19 19:04
|
|
|
*/
|
|
|
@Component
|
|
|
@Slf4j
|
|
|
public class DeliveryWayCostSupport {
|
|
|
|
|
|
@Autowired
|
...
|
...
|
@@ -34,6 +36,7 @@ public class DeliveryWayCostSupport { |
|
|
}
|
|
|
|
|
|
} catch (Exception e) {
|
|
|
log.warn("request cost of sf fail", e);
|
|
|
return defaultValue;
|
|
|
}
|
|
|
});
|
...
|
...
|
|