|
|
|
@ -92,7 +92,7 @@ public class MtOrderLogFailRetryServiceImpl implements MtOrderLogFailRetryServic
|
|
|
|
|
Integer PUSH_STATUS_EXPIRE = 3; |
|
|
|
|
JSONObject jsonObject = JSONObject.parseObject(result); |
|
|
|
|
|
|
|
|
|
if (jsonObject == null || jsonObject.isEmpty() || 0 != jsonObject.getInteger("code")) { |
|
|
|
|
if (jsonObject == null || jsonObject.isEmpty() || 0 != jsonObject.getInteger("Result")) { |
|
|
|
|
mtOrderLogEntity.setPushStatus( |
|
|
|
|
isExpire(mtOrderLogEntity.getCreateTime()) ? PUSH_STATUS_EXPIRE : PUSH_STATUS_FAIL |
|
|
|
|
); |
|
|
|
@ -101,10 +101,10 @@ public class MtOrderLogFailRetryServiceImpl implements MtOrderLogFailRetryServic
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 由于要存储每次的响应结果,所以每次请求后都立即保存
|
|
|
|
|
mtOrderLogService.save(mtOrderLogEntity); |
|
|
|
|
mtOrderLogService.updateById(mtOrderLogEntity); |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("梦天重推 error: {}", e.getMessage()); |
|
|
|
|
log.error("梦天重推 error", e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|