Authored by 周少峰

添加ajax 请求有货币记录

... ... @@ -827,13 +827,18 @@ class HomeController extends AbstractAction
{
$this->setTitle('YOHO币');
$this->setNavHeader('YOHO币', true, false);
$data = array();
$page = $this->get('page', 1);
$size = $this->get('size', 10);
//$data = UserModel::getYohoCoinLists($this->_uid,$page,$size);
$data = UserModel::getYohoCoinLists(3965746,$page,$size);
if(!$this->isAjax()){
$fullPage = 1;
}
$this->_view->display('currency-detail', array(
'currency' => $data['list'],
'money' => $data['money'],
'fullPage' => $fullPage,
'pageFooter' => true,
'currencyDetailPage' => true
));
... ...