mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
#959 公众号模块配置加入多公众号支持
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user