diff --git a/src/main/resources/modules/Java_api/ApiTest.java b/src/main/resources/modules/Java_api/ApiTest.java index 7f4a7254..9b3e60f6 100644 --- a/src/main/resources/modules/Java_api/ApiTest.java +++ b/src/main/resources/modules/Java_api/ApiTest.java @@ -39,14 +39,14 @@ public class ${className} { //设置发送网络请求前的统一操作 client.setBefore(new ApiClient.Before() { public void call(ApiRequest request) { - System.out.println("请求参数" + MapperUtil.toJson(request)); - System.out.println("请求方法" + request.path()); + System.out.println("before-->" + MapperUtil.toJson(request)); + System.out.println("before-->" + request.path()); } }); //设置网络请求完成后的统一操作 client.setAfter(new ApiClient.After() { public void call(ApiRequest request, ApiResponse response) { - System.out.println("响应参数" + MapperUtil.toJson(response)); + System.out.println("after-->" + MapperUtil.toJson(response)); Date end = new Date(); System.out.println(simpleDateFormat.format(end)); }