Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
cf67837f
Commit
cf67837f
authored
Jun 18, 2021
by
terrfly
Browse files
解决删除应用没有清空缓存的问题
parent
e7382e31
Changes
1
Hide whitespace changes
Inline
Side-by-side
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/service/ConfigContextService.java
View file @
cf67837f
...
@@ -156,7 +156,14 @@ public class ConfigContextService {
...
@@ -156,7 +156,14 @@ public class ConfigContextService {
return
;
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
);
MchApp
mchApp
=
mchInfoConfigContext
.
getMchApp
(
appId
);
if
(
mchApp
==
null
){
//说明商户主体信息不存在缓存
if
(
mchApp
==
null
){
//说明商户主体信息不存在缓存
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment