...
|
...
|
@@ -68,7 +68,7 @@ class HomeController extends AbstractAction |
|
|
// $orders = \Index\UserModel::getUserOrderData(967016, $type);
|
|
|
|
|
|
$order = array(
|
|
|
'allOrders' => array(
|
|
|
'orders' => array(
|
|
|
array(
|
|
|
'orderNum' => '408539077',
|
|
|
'tradingStatus' => '交易成功',
|
...
|
...
|
@@ -94,7 +94,8 @@ class HomeController extends AbstractAction |
|
|
)
|
|
|
),
|
|
|
'count' => 2,
|
|
|
'sumCost' => '699.00'
|
|
|
'sumCost' => '699.00',
|
|
|
'unpaid' => true,
|
|
|
)
|
|
|
)
|
|
|
);
|
...
|
...
|
@@ -126,6 +127,20 @@ class HomeController extends AbstractAction |
|
|
$favBrands = \Index\UserModel::getFavBrandData($uid, $gender);
|
|
|
|
|
|
print_r($favBrands);
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 个人信息
|
|
|
*/
|
|
|
public function personalDetailsAction()
|
|
|
{
|
|
|
// $uid = $this->getUid();
|
|
|
$uid = 967016;
|
|
|
$data = \Index\UserModel::getUserProfileData($uid);
|
|
|
$this->_view->display('personal-details', $data);
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -133,11 +148,11 @@ class HomeController extends AbstractAction |
|
|
*/
|
|
|
public function currencyAction()
|
|
|
{
|
|
|
$uid = $this->getUid();
|
|
|
|
|
|
$favBrands = \Index\UserModel::getYohoCoinData($uid);
|
|
|
// $uid = $this->getUid();
|
|
|
|
|
|
print_r($favBrands);
|
|
|
// $favBrands = \Index\UserModel::getYohoCoinData($uid);
|
|
|
// print_r($favBrands);
|
|
|
$this->_view->display('yoho-coin', array('yohoCoin' => array('coinNum' => 0)));
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|