/WEB-INF/page/message.jsp /index.jsp /* 需要继承Interceptor接口以及实现接口里边的方法 */ public class MyInterceptor implements Interceptor{ public void destroy() { } public void init() { } public String intercept(ActionInvocation invocation) throws E
显示样式如下,复制内容的时候使用鼠标中键进行选中
打印内容:code,请求方式,url,请求头,请求体,返回json
class LoggerInterceptor : Interceptor {
override fun intercept(chain: Interceptor.Chain?): Response {
val orgRequest = chain!!.request()
val response = chain.proceed(orgRequest)
val bod