Commit 577ad23f by 程裕兵

feat:remove invalid code

parent 6beab951
...@@ -298,7 +298,7 @@ public class MerchantConvert { ...@@ -298,7 +298,7 @@ public class MerchantConvert {
return auths.stream() return auths.stream()
.filter(e -> e.getAuthType() == SubChannelAuthTypeEnums.WX_OFFLINE) .filter(e -> e.getAuthType() == SubChannelAuthTypeEnums.WX_OFFLINE)
.findFirst() .findFirst()
.map(SubChannelAuthInfo::getAuthState) .map(SubChannelAuthInfo::getState)
.orElse(null); .orElse(null);
} }
...@@ -306,7 +306,7 @@ public class MerchantConvert { ...@@ -306,7 +306,7 @@ public class MerchantConvert {
return auths.stream() return auths.stream()
.filter(e -> e.getAuthType() == SubChannelAuthTypeEnums.ALI_OFFLINE) .filter(e -> e.getAuthType() == SubChannelAuthTypeEnums.ALI_OFFLINE)
.findFirst() .findFirst()
.map(SubChannelAuthInfo::getAuthState) .map(SubChannelAuthInfo::getState)
.orElse(null); .orElse(null);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment