|
|
@@ -66,7 +66,9 @@ public class RaexUtils {
|
|
|
login();
|
|
|
return post(url, data);
|
|
|
}
|
|
|
- return JSONObject.parseObject(request.body());
|
|
|
+ String body = request.body();
|
|
|
+ log.info("post url: {}, data: {}, code: {}, body: {}", url, data, code, body);
|
|
|
+ return JSONObject.parseObject(body);
|
|
|
}
|
|
|
|
|
|
public static JSONObject post(String url, JSONObject data) {
|
|
|
@@ -86,6 +88,8 @@ public class RaexUtils {
|
|
|
login();
|
|
|
return post(url, data);
|
|
|
}
|
|
|
- return JSONObject.parseObject(request.body());
|
|
|
+ String body = request.body();
|
|
|
+ log.info("post url: {}, data: {}, code: {}, body: {}", url, data, code, body);
|
|
|
+ return JSONObject.parseObject(body);
|
|
|
}
|
|
|
}
|