whyclxw
2024-11-04 a2ff19bd96f7ff4843e2dbcf70ac93e7b110b967
接口请求出问题触发205
1个文件已修改
8 ■■■■ 已修改文件
src/main/java/com/whyc/util/TestparamHttpUtil.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/util/TestparamHttpUtil.java
@@ -25,7 +25,7 @@
        } catch (RestClientException  e) {
            results=" {\n" +
                    "      \"code\": \"205\",\n" +
                    "      \"msg\": \"failed to controll\",\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" +
                    "    }";
@@ -56,7 +56,7 @@
        } catch (RestClientException e) {
            results=" {\n" +
                    "      \"code\": \"205\",\n" +
                    "      \"msg\": \"failed to controll\",\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" +
                    "    }";