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