package com.gxwebsoft.common.core.utils; import java.util.HashMap; import java.util.Map; import com.wechat.pay.java.core.Config; public class WxNativeUtil { private static final Map tenantConfigs = new HashMap<>(); public static void addConfig(Integer tenantId, Config config) { tenantConfigs.put(tenantId, config); } public static Config getConfig(Integer tenantId) { return tenantConfigs.get(tenantId); } }