/**
  * 执行消息动作
  *
  * @param ext_type 自定义类型
  * @param req_type 请求类型
  * @param event_type 事件类型
  * @param key_word 关键字/key
  * @throws Exception
  */
 protected String doAction(String ext_type, String req_type, String event_type, String key_word)
     throws Exception {
   RespMsgAction action =
       RespMsgActionServiceImpl.loadMsgAction(
           null, req_type, event_type, key_word, WechatContext.getPublicAccount().getSysUser());
   return doAction(action);
 }
 /**
  * 执行消息动作
  *
  * @param respMessage
  * @return
  * @throws Exception
  */
 protected String doAction(String respMessage) throws Exception {
   if (StringUtils.isBlank(respMessage)) {
     return "";
   }
   // 替换参数
   respMessage = MessageUtil.replaceMsgByReg(respMessage, WechatContext.getWechatPostMap());
   return respMessage;
 }