Explorar o código

服务测试更新

ZhuDeKang hai 3 meses
pai
achega
1dfb157060

+ 2 - 2
ruoyi-api-patform/src/main/java/com/ruoyi/interfaces/service/impl/PtServiceServiceImpl.java

@@ -144,8 +144,8 @@ public class PtServiceServiceImpl extends ServiceImpl<PtServiceMapper, PtService
     @Override
     @Override
     public HashMap<String, String> testRun(PtService ptService) throws IOException {
     public HashMap<String, String> testRun(PtService ptService) throws IOException {
 
 
-        //String url = RuoYiConfig.getGatewayUrl() + ptService.getProxyPath() + ptService.getUrl();
-        String url = ptService.getUrl();
+        String url = RuoYiConfig.getGatewayUrl() + ptService.getProxyPath() + ptService.getUrl();
+        //String url = ptService.getUrl();
         HashMap<String, String> headers = new HashMap<>();
         HashMap<String, String> headers = new HashMap<>();
         List<PtServiceParam> params = ptService.getParams();
         List<PtServiceParam> params = ptService.getParams();
         HttpUtils.setGatewayHeaders(headers);
         HttpUtils.setGatewayHeaders(headers);