java微信支付异步回调接收参数

  response.setHeader( "Content-type", "text/html;charset=UTF-8" );
      out = response.getWriter();
      InputStream in = request.getInputStream();
      BufferedReader br = new BufferedReader( new InputStreamReader( in, "UTF-8" ) );
      StringBuffer result = new StringBuffer();
      String line = "";
      long courseId = ParamUtils.getLongParameter( request, "courseId", 0 );
      while ( ( line = br.readLine() ) != null )
      {
        result.append(line);
      }
      Map<String, String> map = WXPayUtil.xmlToMap( result.toString() );

java微信支付异步回调接收参数

上一篇:微信关注公众号以及获取用户信息


下一篇:Asp.net Core 微信公众号开发系列