Mr.qian 3 недель назад
Родитель
Сommit
668b9e5343

+ 1 - 0
operating-service/src/main/java/com/txz/operating/dubbo/impl/OperatingInterfacesDubboServiceImpl.java

@@ -44,6 +44,7 @@ public class OperatingInterfacesDubboServiceImpl implements OperatingInterfacesD
     
     @Override
     public Result<InterfacesDTO> detailForGateway(String servicePath) {
+        servicePath = servicePath.replaceAll("/\\d+$", "");
         InterfacesDTO interfaces = map.get(servicePath);
         if (null != interfaces) {
             return Result.success(interfaces);