whyclxw
2024-11-07 4f9cb11aaa56a63e84c619203a9d34e68b2c47cf
src/main/java/com/whyc/util/TestparamHttpUtil.java
@@ -24,8 +24,8 @@
            results = response.getBody();
        } catch (RestClientException  e) {
            results=" {\n" +
                    "      \"code\": \"210\",\n" +
                    "      \"msg\": \"failed to controll\",\n" +
                    "      \"code\": \"205\",\n" +
                    "      \"msg\": \"接口调用出错\",\n" +
                    "      \"data\": null,\n" +
                    "      \"count\": 0\n" +
                    "    }";
@@ -33,7 +33,7 @@
        if(results==null){
            results=" {\n" +
                    "      \"code\": \"0\",\n" +
                    "      \"msg\": \"failed to controll\",\n" +
                    "      \"msg\": \"接口调用无返回\",\n" +
                    "      \"data\": null,\n" +
                    "      \"count\": 0\n" +
                    "    }";
@@ -55,8 +55,8 @@
            results = response.getBody();
        } catch (RestClientException e) {
            results=" {\n" +
                    "      \"code\": \"210\",\n" +
                    "      \"msg\": \"failed to controll\",\n" +
                    "      \"code\": \"205\",\n" +
                    "      \"msg\": \"接口调用出错\",\n" +
                    "      \"data\": null,\n" +
                    "      \"count\": 0\n" +
                    "    }";
@@ -64,7 +64,7 @@
        if(results==null){
            results=" {\n" +
                    "      \"code\": \"0\",\n" +
                    "      \"msg\": \"failed to controll\",\n" +
                    "      \"msg\": \"接口调用无返回\",\n" +
                    "      \"data\": null,\n" +
                    "      \"count\": 0\n" +
                    "    }";