提交 cf67837f 编写于 作者: terrfly's avatar terrfly

解决删除应用没有清空缓存的问题

上级 e7382e31
......@@ -156,7 +156,14 @@ public class ConfigContextService {
return;
}
//商户应用信息
//DB已经删除
if(mchAppService.count(MchApp.gw().eq(MchApp::getAppId, appId)) <= 0){
mchAppConfigContextMap.remove(appId); //清除缓存信息
mchInfoConfigContext.getAppMap().remove(appId); //清除主体信息中的appId
return ;
}
//商户应用信息(缓存中存在)
MchApp mchApp = mchInfoConfigContext.getMchApp(appId);
if(mchApp == null){ //说明商户主体信息不存在缓存
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册