拆分think模块包
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user