...
|
...
|
@@ -431,4 +431,57 @@ public class MetaConfigService { |
|
|
return bpfMap;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 根据code清除配置缓存
|
|
|
* @param code
|
|
|
*/
|
|
|
public void clearCacheByCode(String code){
|
|
|
switch (code){
|
|
|
case "buyer_penalty":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.BUYER_CANCEL_PENALTY.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "seller_enter_threshold":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.ENTRY_THRESHOLD.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "seller_earnest_money":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.SELLER_EARNEST_MONEY_CONFIG.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "seller_penalty":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.SELLER_PENALTY_CONFIG.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "presale_threshold":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.PRESALE_THRESHOLD.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "order_code_rule":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.ORDER_CODE_RULE.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "seller_goods_fee_rate":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.SELLER_GOODS_FEE_RATE.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "seller_goods_platform_fee":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.SELLER_GOODS_PLATFORM_FEE.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "buyer_order_fee":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.BUYER_ORDER_FEE.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "buyer_overseas_order_cut_policy":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.BUYER_ORDER_CUT_POLICY.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "seller_goods_price_limit":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.SELLER_SALE_PRICE_LIMIT.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "depositFee":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.DEPOSIT_PLATFORM_FEE.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "buyer_bid_config":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.BUYER_BID_CONFIG.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "seller_bid_goods_fee_rate":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.SELLER_BID_GOODS_FEE_RATE.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
case "buyer_order_violation_penalty":
|
|
|
cacheClient.delete(CacheKeyBuilder.KeyTemp.BUYER_ORDER_VIOLATION_PENALTY.builderKeyOnlyFixed().getKey());
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
} |
...
|
...
|
|