/** * 微信列表 */ public function listAction() { $iPage = intval($this->getParam('page')); $aWhere = array(); $aParam = $this->getParams(); if (!empty($aParam['sAccount'])) { $aWhere['sAccount LIKE'] = '%' . $aParam['sAccount'] . '%'; } if (!empty($aParam['sName'])) { $aWhere['sName LIKE'] = '%' . $aParam['sName'] . '%'; } $aList = Model_CrawlWeixin::getList($aWhere, $iPage); $this->assign('aList', $aList); $this->assign('aParam', $aParam); }
/** * 公众号认证 */ public function verifyaccountAction() { $iType = max(1, (int) $this->getParam('type')); $iPage = max(1, intval($this->getParam('page'))); $aData = Model_CrawlWeixin::getList(array(), $iPage); $this->assign('aData', $aData); $this->assign('iType', $iType); $this->setMeta('mcenter_page', array('sTitle' => '自媒体中心 - 公众号认证')); }