|
@@ -37,23 +37,24 @@ public class OAUtil {
|
|
|
|
|
|
public static String receiveRequestInfoByJson(Map<String, Object> parma) {
|
|
|
|
|
|
- String url = prefix + "/rest/ofs/ReceiveRequestInfoByJson";
|
|
|
- String body = JSON.toJSONString(parma);
|
|
|
- // 发送POST请求
|
|
|
- HttpResponse response = HttpRequest.post(url)
|
|
|
- .header(headers)
|
|
|
- .body(body)
|
|
|
- .execute();
|
|
|
-
|
|
|
-// System.out.println("请求参数:" + JSON.toJSONString(parma));
|
|
|
- // 获取响应状态码
|
|
|
- int statusCode = response.getStatus();
|
|
|
-// System.out.println("Status Code: " + statusCode);
|
|
|
-
|
|
|
- // 获取响应体
|
|
|
- String responseBody = response.body();
|
|
|
-// System.out.println("Response Body: " + responseBody);
|
|
|
- return responseBody;
|
|
|
+// String url = prefix + "/rest/ofs/ReceiveRequestInfoByJson";
|
|
|
+// String body = JSON.toJSONString(parma);
|
|
|
+// // 发送POST请求
|
|
|
+// HttpResponse response = HttpRequest.post(url)
|
|
|
+// .header(headers)
|
|
|
+// .body(body)
|
|
|
+// .execute();
|
|
|
+//
|
|
|
+//// System.out.println("请求参数:" + JSON.toJSONString(parma));
|
|
|
+// // 获取响应状态码
|
|
|
+// int statusCode = response.getStatus();
|
|
|
+//// System.out.println("Status Code: " + statusCode);
|
|
|
+//
|
|
|
+// // 获取响应体
|
|
|
+// String responseBody = response.body();
|
|
|
+//// System.out.println("Response Body: " + responseBody);
|
|
|
+// return responseBody;
|
|
|
+ return "";
|
|
|
}
|
|
|
|
|
|
public static void main(String[] args) {
|