修复微信支付,兼容公钥模块
This commit is contained in:
@@ -39,7 +39,7 @@ public class PaymentCacheService {
|
|||||||
*/
|
*/
|
||||||
public Payment getPaymentConfig(Integer payType, Integer tenantId) {
|
public Payment getPaymentConfig(Integer payType, Integer tenantId) {
|
||||||
// 1. 优先使用 Payment:1{payType} 格式的缓存键
|
// 1. 优先使用 Payment:1{payType} 格式的缓存键
|
||||||
String primaryKey = "Payment:1" + payType;
|
String primaryKey = "Payment:1:" + tenantId;
|
||||||
Payment payment = redisUtil.get(primaryKey, Payment.class);
|
Payment payment = redisUtil.get(primaryKey, Payment.class);
|
||||||
|
|
||||||
if (ObjectUtil.isNotEmpty(payment)) {
|
if (ObjectUtil.isNotEmpty(payment)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user