Commit 41c957c7 by 徐康

展示催单提示

parent 47c7ca1d
......@@ -2826,7 +2826,10 @@ public class OrderServiceImpl implements Orderservice {
dto.setDeliveryId(orderBean.getAddInfo().getDeliveryId());
}
QueryDeliveryAmountResponseDto responseDto = deliveryFeiginClient.orderRemind(dto);
if(responseDto == null || RESPONSE_SUCCESS_CODE != responseDto.getCode() ) {
if(null != response && 120 == responseDto.getCode()) {
return ResponseUtil.error(ResponseResult.DELIVERY_REMINDER_ERROR.getCode(), response.getErrmsg());
}
if(responseDto == null || RESPONSE_SUCCESS_CODE != responseDto.getCode()) {
return ResponseUtil.error(ResponseResult.DELIVERY_REMINDER_ERROR);
}
return ResponseUtil.success();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment