From 687f97fc8899fca0ab3b3efba60d6ee0d0f65e02 Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Sun, 14 Jan 2024 14:40:01 +0800 Subject: [PATCH] update --- .../java/com/jsowell/common/constant/CacheConstants.java | 5 +++++ .../jsowell/pile/service/impl/OrderPayRecordServiceImpl.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/jsowell-common/src/main/java/com/jsowell/common/constant/CacheConstants.java b/jsowell-common/src/main/java/com/jsowell/common/constant/CacheConstants.java index f1ec13c25..c93f0612a 100644 --- a/jsowell-common/src/main/java/com/jsowell/common/constant/CacheConstants.java +++ b/jsowell-common/src/main/java/com/jsowell/common/constant/CacheConstants.java @@ -74,8 +74,12 @@ public class CacheConstants { // 汇付会员账户 public static final String ADAPAY_MEMBER_ACCOUNT = "adapay_member_account:"; + // 充电桩固件版本 public static final String PILE_PROGRAM_VERSION = "pile_program_version_"; + // 查询订单支付信息 + public static final String SELECT_ORDER_PAY_INFO_LIST = "select_order_pay_info_list:"; + // 查询订单微信支付回调 public static final String QUERY_ORDER_WECHAT_CALLBACK = "query_order_wechat_callback:"; @@ -91,6 +95,7 @@ public class CacheConstants { // 微信支付参数 public static final String WECHAT_PAY_ORDER_PARAM = "wechat_pay_order_param:"; + // AccessToken public static final String ACCESS_TOKEN = "AccessToken_"; // 通过交易流水号查询订单实时数据 diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderPayRecordServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderPayRecordServiceImpl.java index 14b56817b..f2ca8a04b 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderPayRecordServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderPayRecordServiceImpl.java @@ -74,7 +74,7 @@ public class OrderPayRecordServiceImpl implements OrderPayRecordService { @Override public List selectOrderPayInfoList(String orderCode) { // 缓存 - String redisKey = "select_order_pay_info_list:" + orderCode; + String redisKey = CacheConstants.SELECT_ORDER_PAY_INFO_LIST + orderCode; List resultList = redisCache.getCacheList(redisKey); if (CollectionUtils.isNotEmpty(resultList)) { return resultList;