部分更改
This commit is contained in:
@@ -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("未知通道");
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user