Authored by xiaowei

我的逛 数据结构修改

@@ -297,12 +297,13 @@ class HomeController extends AbstractAction @@ -297,12 +297,13 @@ class HomeController extends AbstractAction
297 $page = $this->get('page', 1); 297 $page = $this->get('page', 1);
298 $limit = $this->get('limit', 10); 298 $limit = $this->get('limit', 10);
299 $uid = $this->getUid(); 299 $uid = $this->getUid();
  300 + $uid=5687179;
300 $gender = Helpers::getGenderByCookie(); 301 $gender = Helpers::getGenderByCookie();
301 $yh_channel = Helpers::getChannelByCookie(); 302 $yh_channel = Helpers::getChannelByCookie();
302 $guangInfo = \home\GuangModel::getMyGuang($uid, $page,$yh_channel,$gender, $limit); 303 $guangInfo = \home\GuangModel::getMyGuang($uid, $page,$yh_channel,$gender, $limit);
303 $this->setTitle('我收藏的'); 304 $this->setTitle('我收藏的');
304 $this->setNavHeader('我收藏的', true, ''); 305 $this->setNavHeader('我收藏的', true, '');
305 - $this->_view->display('my-guang', array( 'myGuangPage' => true,'myGuang'=>$guangInfo,'pageFooter' => true)); 306 + $this->_view->display('my-guang', array( 'myGuangPage' => true,'myGuang'=>array('infos'=>$guangInfo),'pageFooter' => true));
306 } 307 }
307 308
308 /** 309 /**