|
|
@@ -24,6 +24,7 @@ import com.yami.shop.service.OrderRefundService;
|
|
|
import com.yami.shop.service.OrderService;
|
|
|
import com.yami.shop.service.xsb.XSBPushRefundOrderService;
|
|
|
import com.yami.shop.utils.CullenUtils;
|
|
|
+import com.yami.shop.utils.SmqjhUtil;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.ObjectUtils;
|
|
|
@@ -48,7 +49,7 @@ public class XSBPushRefundOrderServiceImpl implements XSBPushRefundOrderService
|
|
|
@Autowired
|
|
|
PointsRecordMapper pointsRecordMapper;
|
|
|
|
|
|
-
|
|
|
+ private final SmqjhUtil smqjhUtil;
|
|
|
|
|
|
/**
|
|
|
* 推送市民请集合状态
|
|
|
@@ -69,7 +70,7 @@ public class XSBPushRefundOrderServiceImpl implements XSBPushRefundOrderService
|
|
|
refundOrderPushStatusVo.setReturnMoneySts(orderRefund.getReturnMoneySts());
|
|
|
refundOrderPushStatusVo.setApplyType(orderRefund.getApplyType());
|
|
|
log.info("推送市民请集合状态推送请求参数,{}", com.alibaba.fastjson2.JSONObject.toJSONString(refundOrderPushStatusVo));
|
|
|
- String post = HttpUtil.post("http://192.168.1.166:8080/smqjh-oms/api/v1/xsb/receiveRefundStatus", refundOrderPushStatusVo);
|
|
|
+ String post = HttpUtil.post(smqjhUtil.getSmqjhOmsUrl()+SmqjhUtil.omsSmqjhRefundUrlUpdateStatus, refundOrderPushStatusVo);
|
|
|
if (StringUtils.isNotEmpty(post)){
|
|
|
Result result = JSONObject.parseObject(post, Result.class);
|
|
|
if (result==null){
|