关于x-www-form-urlencoded方法在springboot中的接收方法

    @RequestMapping("/notify")
    public String saleNotify(
            @PathVariable(required = false) String channelId ,
            @PathVariable(required = false) String mchNo ,
            @RequestBody(required = false) String body,
            @RequestParam(required = false) Map<String,String> param,
            @RequestHeader (required = false) Map<String,String>  heard,
            HttpServletRequest httpRequest
    ){
        return "SUCCESS";
    }

你可能感兴趣的:(spring,boot,java,前端)