...
|
...
|
@@ -26,7 +26,7 @@ class HomeController extends AbstractAction |
|
|
$this->setNavHeader('个人中心', true, SITE_MAIN);
|
|
|
|
|
|
// $uid = $this->getUid();
|
|
|
$uid = 967016;
|
|
|
$uid = 8826435;
|
|
|
$data = \Index\UserModel::getUserProfileData($uid);
|
|
|
$data += \Index\UserModel::getInfoNumData($uid);
|
|
|
|
...
|
...
|
@@ -46,10 +46,15 @@ class HomeController extends AbstractAction |
|
|
*/
|
|
|
public function ordersAction()
|
|
|
{
|
|
|
// $uid = $this->getUid();
|
|
|
// $type = $this->get('type', 1);
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('我的订单');
|
|
|
$this->setNavHeader('我的订单', true, SITE_MAIN);
|
|
|
|
|
|
$uid = $this->getUid();
|
|
|
$uid = 8826435;
|
|
|
$type = $this->get('type', 1);
|
|
|
|
|
|
// $orders = \Index\UserModel::getUserOrderData(967016, $type);
|
|
|
$order = \Index\UserModel::getUserOrderData($uid, $type);
|
|
|
|
|
|
$order = array(
|
|
|
'orders' => array(
|
...
|
...
|
@@ -85,7 +90,6 @@ class HomeController extends AbstractAction |
|
|
);
|
|
|
|
|
|
$this->_view->display('order', array('order' => $order, 'orderPage' => true));
|
|
|
// print_r($orders);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|