|
@@ -191,6 +191,8 @@ public class BeisenApiClient {
|
|
|
|
|
|
private Request buildRequest(String apiUrl, Object requestBody, String accessToken, String method) {
|
|
|
String jsonString = convertToJsonString(requestBody);
|
|
|
+ // 添加日志输出
|
|
|
+ System.out.print("Request接口请求参数"+jsonString);
|
|
|
RequestBody body = RequestBody.create(JSON_MEDIA_TYPE, jsonString);
|
|
|
if (requestBody instanceof JSONObject) {
|
|
|
if (((JSONObject) requestBody).size() == 0) {
|