部分更改

This commit is contained in:
liuyingfang
2024-01-19 13:54:31 +08:00
parent 6dc546e727
commit fef9a1f703
10 changed files with 80 additions and 13 deletions

View File

@@ -70,6 +70,11 @@ public class ZfbAttestationController {
merchantCodeMap.put("url", ZfbChannel.YS_CHANNEL.getUrl());
merchantCodeMap.put("nameChannel",ZfbChannel.YS_CHANNEL.getName());
break;
case 7:
merchantCodeMap.put("virChannelFlag", merchantCode.getVirChannelFlag());
merchantCodeMap.put("url", ZfbChannel.HF_CHANNEL.getUrl());
merchantCodeMap.put("nameChannel",ZfbChannel.HF_CHANNEL.getName());
break;
default:
throw new MsgException("未知通道");
}

View File

@@ -79,6 +79,7 @@ public class TokenRegistryInterceptor extends HandlerInterceptorAdapter {
limitUri.add("/api/device/stock/bindtablecode");
limitUri.add("/api/userApp/getUserId");
limitUri.add("/api/payConfig/appconfig");
limitUri.add("/api/zxfAttestation/testSuccess");
boolean passFlag = limitUri.stream().anyMatch(s -> s.equals(requestUri) || requestUri.startsWith(s));
if (passFlag) {
return true;