Files
gxtyzx-java/modules/common/core/utils/WxNativeUtil.java
T
2024-08-13 17:51:18 +08:00

20 lines
450 B
Java

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<Integer, Config> 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);
}
}