Authored by cailing

取消订单原因修复

... ... @@ -4,6 +4,7 @@ use Action\WebAction;
use WebPlugin\Helpers;
use Home\UserModel;
use Home\IndexModel;
use LibModels\Web\Home\OrderData;
/**
* 个人中心首页
... ... @@ -33,10 +34,14 @@ class IndexController extends WebAction
$leftNav = UserModel::getCenterLeftNav('',$uid);
$data = IndexModel::homeData();
$udid = $uid . $this->getUdid();
//取消订单原因列表
$resons = OrderData::closeReasons();
$cancelReason = isset($resons['data']) ? $resons['data'] : '';
$data = array(
'path' => $path,
'userThumb' => UserModel::getUserHeadImg($uid),
'homeNav' => $leftNav,
'cancelReason' => $cancelReason,
'content' => array(
array(
//消息提示
... ...