MockHttpServletRequest: HTTP Method = GET Request URI = /api/yiqilaiCoupon/coupon/activeDetail Parameters = {} Headers = [Content-Type:"text/plain", appType:"equity_main", openId:"oZpSg4uoZuYVYTP-7XoRG59C54Qo", v:"1", client_ip:"27.128.15.166", v1:"10000", method_code:"I10061", session3rd:"_loginId_b673fa8b5fb94e558050893643672ffe", activeId:"2"] Body = <no character encoding set> Session Attrs = {} Handler: Type = com.eshore.small_program.equity.controller.yiqilaiVoucher.YiQiLaiCouponController Method = com.eshore.small_program.equity.controller.yiqilaiVoucher.YiQiLaiCouponController#activeDetail(Integer) Async: Async started = false Async result = null Resolved Exception: Type = null ModelAndView: View name = null View = null Model = null FlashMap: Attributes = null MockHttpServletResponse: Status = 200 Error message = null Headers = [Content-Type:"application/json;charset=UTF-8"] Content type = application/json Body = {"success":false,"data":null,"errorCode":"50000","errorMsg":"缺少参数","interfaceCode":"10001"} Forwarded URL = null Redirected URL = null Cookies = []
时间: 2024-02-29 13:57:13 浏览: 163
java 页面上有ENCTYPE="multipart/form-data" 时action方法或者控制层用request.getParameter()获取不到值的方法 ?
4星 · 用户满意度95%
这段代码看起来像是一个Java的MockHttpServletRequest对象,其中包含了一些关于请求的详细信息,例如请求的方法、URI、参数、头部信息等。同时也包含了处理该请求的控制器和方法,以及返回的响应信息。最后,响应的状态码是200,但是success字段为false,errorCode为"50000",errorMsg为"缺少参数",说明请求缺少必要的参数。
阅读全文