/** * 返回为 object : { type: "微信类型", * keyword:"用户输入的字符串“, * event: "微信事件类型" * fromUserName: "******" * toUserName: "******" * xmlObj: 解析的完整结果 * } * 如果 返回false 表示数据不能解析 **/ public function getCallMsg($postStr) { // $postStr = $GLOBALS["HTTP_RAW_POST_DATA"]; if (!empty($postStr)) { $this->msg = BCWxmpApiUtil::_getCallMsg($postStr); if (BCWxmpRedPackSetting::$wxmpRedpackDebug) { BCWxmpApiUtil::$debugMsg = $this->msg; } return $this->msg; } return false; }