do modify home page uid
Showing
1 changed file
with
1 additions
and
3 deletions
@@ -43,8 +43,7 @@ class HomeController extends AbstractAction | @@ -43,8 +43,7 @@ class HomeController extends AbstractAction | ||
43 | $this->setTitle('个人中心'); | 43 | $this->setTitle('个人中心'); |
44 | $this->setNavHeader('个人中心'); | 44 | $this->setNavHeader('个人中心'); |
45 | 45 | ||
46 | - // $uid = $this->getUid(); | ||
47 | - $uid = 8826435; | 46 | + $uid = $this->getUid(); |
48 | $data = \Index\UserModel::getUserProfileData($uid); | 47 | $data = \Index\UserModel::getUserProfileData($uid); |
49 | $data += \Index\UserModel::getInfoNumData($uid); | 48 | $data += \Index\UserModel::getInfoNumData($uid); |
50 | 49 | ||
@@ -70,7 +69,6 @@ class HomeController extends AbstractAction | @@ -70,7 +69,6 @@ class HomeController extends AbstractAction | ||
70 | 69 | ||
71 | $tab = $this->get('tab', ''); | 70 | $tab = $this->get('tab', ''); |
72 | $uid = $this->getUid(); | 71 | $uid = $this->getUid(); |
73 | - $uid = 8826435; | ||
74 | $gender = Helpers::getGenderByCookie(); | 72 | $gender = Helpers::getGenderByCookie(); |
75 | 73 | ||
76 | $favProducts = \Index\UserModel::getFavProductData($uid); | 74 | $favProducts = \Index\UserModel::getFavProductData($uid); |
-
Please register or login to post a comment