/** * 微信内容 */ public function addAction() { if ($this->_request->isPost()) { $aWeiXin = $this->_checkData('add'); if (empty($aWeiXin)) { return null; } if (Model_CrawlWeixin::addData($aWeiXin) > 0) { return $this->showMsg('微信增加成功!', true); } else { return $this->showMsg('微信增加失败!', false); } } }