package com.jeesharp.business.modules.pay.paywechatconfig.service.impl;

import com.jeesharp.business.modules.pay.config.weixin.PayWechatWxPayClientHolder;
import com.jeesharp.business.modules.pay.paywechatconfig.service.PayWechatConfigRuntimeService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * {@link PayWechatConfigRuntimeService} 实现。
 *
 * @author jeesharp
 * @since 2026-05-25
 */
@Service
@RequiredArgsConstructor
public class PayWechatConfigRuntimeServiceImpl implements PayWechatConfigRuntimeService {

    private final PayWechatWxPayClientHolder payWechatWxPayClientHolder;

    @Override
    public void evictWxPayClientCache() {
        payWechatWxPayClientHolder.evictCache();
    }
}
