🎨 modifier order
This commit is contained in:
@@ -18,10 +18,10 @@ import java.util.concurrent.locks.Lock;
|
||||
*/
|
||||
public class WxMaRedissonConfigImpl extends WxMaDefaultConfigImpl {
|
||||
|
||||
protected final static String LOCK_KEY = "wechat_ma_lock:";
|
||||
protected final static String MA_ACCESS_TOKEN_KEY = "wechat_ma_access_token_key:";
|
||||
protected final static String MA_JSAPI_TICKET_KEY = "wechat_ma_jsapi_ticket_key:";
|
||||
protected final static String MA_CARD_API_TICKET_KEY = "wechat_ma_card_api_ticket_key:";
|
||||
protected static final String LOCK_KEY = "wechat_ma_lock:";
|
||||
protected static final String MA_ACCESS_TOKEN_KEY = "wechat_ma_access_token_key:";
|
||||
protected static final String MA_JSAPI_TICKET_KEY = "wechat_ma_jsapi_ticket_key:";
|
||||
protected static final String MA_CARD_API_TICKET_KEY = "wechat_ma_card_api_ticket_key:";
|
||||
|
||||
/**
|
||||
* redis 存储的 key 的前缀,可为空
|
||||
|
||||
@@ -7,7 +7,7 @@ package cn.binarywang.wx.miniapp.util;
|
||||
* @date 2020-08-16
|
||||
*/
|
||||
public class WxMaConfigHolder {
|
||||
private final static ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<String>() {
|
||||
private static final ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<String>() {
|
||||
@Override
|
||||
protected String initialValue() {
|
||||
return "default";
|
||||
|
||||
Reference in New Issue
Block a user