public class WXRequestParamUtil extends Object
| Constructor and Description |
|---|
WXRequestParamUtil() |
| Modifier and Type | Method and Description |
|---|---|
static VxMsgModel |
parseVxMsgModel(String postStr) |
static String |
readStreamParameter(javax.servlet.ServletInputStream in,
VxCheckRequest vxCheckRequest,
WXBizMsgCrypt pc,
boolean encode) |
public static String readStreamParameter(javax.servlet.ServletInputStream in, VxCheckRequest vxCheckRequest, WXBizMsgCrypt pc, boolean encode)
in - request 输入流vxCheckRequest - 接收公众号发送的参数封装实体类pc - 微信官方加解密工具类encode - 公众号接口是否为安全模式public static VxMsgModel parseVxMsgModel(String postStr)
postStr - xml 格式 stringCopyright © 2021. All rights reserved.