123
This commit is contained in:
@@ -66,7 +66,7 @@ public class PayConfigManager {
|
||||
Collection<PayConfig> values = PAY_CONFIGS_MAP.values();
|
||||
Map<String,PayConfig> using = new HashMap<>();
|
||||
for (PayConfig value : values) {
|
||||
if(PayTypeEnum.WX.getCode().equals(value.getPayType())){
|
||||
if(value.getEnableStatus().equals(1) && PayTypeEnum.WX.getCode().equals(value.getPayType())){
|
||||
using.put(value.getWxMcid(),value);
|
||||
}
|
||||
}
|
||||
@@ -90,7 +90,7 @@ public class PayConfigManager {
|
||||
Collection<PayConfig> values = PAY_CONFIGS_MAP.values();
|
||||
Map<String,PayConfig> using = new HashMap<>();
|
||||
for (PayConfig value : values) {
|
||||
if(PayTypeEnum.ALI.getCode().equals(value.getPayType())){
|
||||
if(value.getEnableStatus().equals(1) && PayTypeEnum.ALI.getCode().equals(value.getPayType())){
|
||||
using.put(value.getWxMcid(),value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user