|
|
|
@@ -202,6 +202,12 @@ public class BoLinkParkService extends BaseParkService implements ParkAdapterSer |
|
|
|
JSONObject dataObj = retObj.getJSONObject(BoLinkUtil.BOLINK_DATA); |
|
|
|
if (dataObj.getIntValue(BoLinkUtil.BOLINK_STATE) == BoLinkUtil.BOLINK_SUCCESS) { |
|
|
|
RedisCacheUtils.cache(redisTemplate, "carStop:bolinkStopInfoUseCoupon:"+carNumber+":"+orderId, 1, 24*3600); |
|
|
|
try { |
|
|
|
//车厂接口有延时 |
|
|
|
Thread.sleep(3000); |
|
|
|
} catch (InterruptedException e) { |
|
|
|
e.printStackTrace(); |
|
|
|
} |
|
|
|
return new ResultData(); |
|
|
|
} else { |
|
|
|
logger.error("bolink useCoupon error. paramMap: {} . bolinkResult: {}",JSON.toJSONString(paramMap),ret); |
|
|
|
|