mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-13 14:30:08 +08:00
update 车牌号绑定优惠券增加缓存过期时间
This commit is contained in:
@@ -331,7 +331,7 @@ public class UploadRealTimeMonitorHandler extends AbstractYkcHandler {
|
|||||||
CompletableFuture.runAsync(() -> {
|
CompletableFuture.runAsync(() -> {
|
||||||
try {
|
try {
|
||||||
commonService.bindCoupon(orderInfo);
|
commonService.bindCoupon(orderInfo);
|
||||||
redisCache.setCacheObject(redisKey, Boolean.TRUE);
|
redisCache.setCacheObject(redisKey, Boolean.TRUE, 24, TimeUnit.HOURS);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("异步绑定车辆优惠券 error,", e);
|
log.error("异步绑定车辆优惠券 error,", e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user