Showing
1 changed file
with
5 additions
and
0 deletions
@@ -4,6 +4,7 @@ use Action\WebAction; | @@ -4,6 +4,7 @@ use Action\WebAction; | ||
4 | use WebPlugin\Helpers; | 4 | use WebPlugin\Helpers; |
5 | use Home\UserModel; | 5 | use Home\UserModel; |
6 | use Home\IndexModel; | 6 | use Home\IndexModel; |
7 | +use LibModels\Web\Home\OrderData; | ||
7 | 8 | ||
8 | /** | 9 | /** |
9 | * 个人中心首页 | 10 | * 个人中心首页 |
@@ -33,10 +34,14 @@ class IndexController extends WebAction | @@ -33,10 +34,14 @@ class IndexController extends WebAction | ||
33 | $leftNav = UserModel::getCenterLeftNav('',$uid); | 34 | $leftNav = UserModel::getCenterLeftNav('',$uid); |
34 | $data = IndexModel::homeData(); | 35 | $data = IndexModel::homeData(); |
35 | $udid = $uid . $this->getUdid(); | 36 | $udid = $uid . $this->getUdid(); |
37 | + //取消订单原因列表 | ||
38 | + $resons = OrderData::closeReasons(); | ||
39 | + $cancelReason = isset($resons['data']) ? $resons['data'] : ''; | ||
36 | $data = array( | 40 | $data = array( |
37 | 'path' => $path, | 41 | 'path' => $path, |
38 | 'userThumb' => UserModel::getUserHeadImg($uid), | 42 | 'userThumb' => UserModel::getUserHeadImg($uid), |
39 | 'homeNav' => $leftNav, | 43 | 'homeNav' => $leftNav, |
44 | + 'cancelReason' => $cancelReason, | ||
40 | 'content' => array( | 45 | 'content' => array( |
41 | array( | 46 | array( |
42 | //消息提示 | 47 | //消息提示 |
-
Please register or login to post a comment