#959 公众号模块配置加入多公众号支持

This commit is contained in:
liaochuntao
2019-03-22 21:55:37 +08:00
committed by Binary Wang
parent f6285f049e
commit 53a4da00cd
5 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package me.chanjar.weixin.mp.util;
/**
* @Author: yd
* @Date: 2019-03-20 22:06
*/
public class WxMpConfigStorageHolder {
private final static ThreadLocal<String> WX_MP_CONFIG_STORAGE_CHOSE = new ThreadLocal<>();
public static String get() {
return WX_MP_CONFIG_STORAGE_CHOSE.get();
}
public static void set(String label) {
WX_MP_CONFIG_STORAGE_CHOSE.set(label);
}
}