public abstract class WxaMsgController
extends com.jfinal.core.Controller
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
IN_MSG_WXA_CACHE_KEY |
protected static String |
IN_MSG_XML_WXA_CACHE_KEY |
protected static com.jfinal.log.Log |
log |
| 构造器和说明 |
|---|
WxaMsgController() |
| 限定符和类型 | 方法和说明 |
|---|---|
WxaMsg |
getWxaMsg() |
String |
getWxaMsgXml() |
void |
index() |
protected abstract void |
processImageMsg(WxaImageMsg imageMsg)
处理接收到的图片消息
|
protected abstract void |
processTextMsg(WxaTextMsg textMsg)
处理接收到的文本消息
|
protected abstract void |
processUserEnterSessionMsg(WxaUserEnterSessionMsg userEnterSessionMsg)
处理接收到的进入会话事件
|
_clear_, checkUrlPara, checkUrlPara, createToken, createToken, createToken, enhance, forwardAction, get, get, get, get, getAopProxy, getAttr, getAttr, getAttrForInt, getAttrForStr, getAttrNames, getBean, getBean, getBean, getBean, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getControllerKey, getCookie, getCookie, getCookieObject, getCookieObjects, getCookieToInt, getCookieToInt, getCookieToLong, getCookieToLong, getDate, getDate, getFile, getFile, getFile, getFile, getFile, getFiles, getFiles, getFiles, getFiles, getHeader, getInt, getInt, getInt, getInt, getInt, getKv, getLong, getLong, getLong, getLong, getLong, getModel, getModel, getModel, getModel, getPara, getPara, getPara, getPara, getPara, getParaMap, getParaNames, getParaToBoolean, getParaToBoolean, getParaToBoolean, getParaToBoolean, getParaToBoolean, getParaToDate, getParaToDate, getParaToDate, getParaToInt, getParaToInt, getParaToInt, getParaToInt, getParaToInt, getParaToLong, getParaToLong, getParaToLong, getParaToLong, getParaToLong, getParaValues, getParaValuesToInt, getParaValuesToLong, getRawData, getRender, getRequest, getResponse, getSession, getSession, getSessionAttr, getSessionAttr, getViewPath, isParaBlank, isParaBlank, isParaExists, isParaExists, keepBean, keepBean, keepModel, keepModel, keepPara, keepPara, keepPara, keepPara, redirect, redirect, redirect301, redirect301, removeAttr, removeCookie, removeCookie, removeCookie, removeSessionAttr, render, render, render, renderCaptcha, renderError, renderError, renderError, renderFile, renderFile, renderFile, renderFile, renderFreeMarker, renderHtml, renderJavascript, renderJson, renderJson, renderJson, renderJson, renderJson, renderJsp, renderNull, renderQrCode, renderQrCode, renderTemplate, renderText, renderText, renderText, renderToString, renderVelocity, renderXml, set, setAttr, setAttrs, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setHttpServletRequest, setHttpServletResponse, setSessionAttr, setUrlPara, validateCaptcha, validateToken, validateTokenpublic void index()
public String getWxaMsgXml()
public WxaMsg getWxaMsg()
protected abstract void processTextMsg(WxaTextMsg textMsg)
textMsg - 处理接收到的文本消息protected abstract void processImageMsg(WxaImageMsg imageMsg)
imageMsg - 处理接收到的图片消息protected abstract void processUserEnterSessionMsg(WxaUserEnterSessionMsg userEnterSessionMsg)
userEnterSessionMsg - 处理接收到的进入会话事件Copyright © 2019. All rights reserved.