...
|
...
|
@@ -35,8 +35,25 @@ class IndexController extends WebAction |
|
|
$data = IndexModel::homeData();
|
|
|
$udid = $uid . $this->getUdid();
|
|
|
|
|
|
$channelNum = 1;
|
|
|
switch ($channel) {
|
|
|
case 'boys':
|
|
|
$channelNum = 1;
|
|
|
break;
|
|
|
case 'girls':
|
|
|
$channelNum = 2;
|
|
|
break;
|
|
|
case 'kids':
|
|
|
$channelNum = 3;
|
|
|
break;
|
|
|
case 'lifestyle':
|
|
|
$channelNum = 4;
|
|
|
break;
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
// 为你优选 tar add 160701
|
|
|
$data['recommend'] = IndexModel::preferenceData($channel, $uid, $udid, '100004', 30);
|
|
|
$data['recommend'] = IndexModel::preferenceData($channelNum, $uid, $udid, '100004', 30);
|
|
|
|
|
|
//取消订单原因列表
|
|
|
$resons = OrderData::closeReasons();
|
...
|
...
|
|