Authored by hf

modify fixes bug to my center

1 <?php 1 <?php
2 2
3 use Action\AbstractAction; 3 use Action\AbstractAction;
4 -use home\GradeModel;  
5 -use home\OrderModel;  
6 use Plugin\Helpers; 4 use Plugin\Helpers;
7 use LibModels\Wap\Home\OrderData; 5 use LibModels\Wap\Home\OrderData;
8 6
@@ -272,7 +270,7 @@ class HomeController extends AbstractAction @@ -272,7 +270,7 @@ class HomeController extends AbstractAction
272 $this->setTitle('在线客服'); 270 $this->setTitle('在线客服');
273 $this->setNavHeader('在线客服', true, SITE_MAIN); 271 $this->setNavHeader('在线客服', true, SITE_MAIN);
274 272
275 - $service = home\OnlineModel::getOnlineServiceInfo(); 273 + $service = Home\OnlineModel::getOnlineServiceInfo();
276 274
277 $this->_view->display('online-service', array( 275 $this->_view->display('online-service', array(
278 'onlineServicePage' => true, 276 'onlineServicePage' => true,
@@ -288,7 +286,7 @@ class HomeController extends AbstractAction @@ -288,7 +286,7 @@ class HomeController extends AbstractAction
288 $cateId = $this->get('cateId', 0); 286 $cateId = $this->get('cateId', 0);
289 $cateName = $this->get('cateName', ''); 287 $cateName = $this->get('cateName', '');
290 if ($cateId > 0) { 288 if ($cateId > 0) {
291 - $service = home\OnlineModel::getOnlineServiceDetail($cateId); 289 + $service = Home\OnlineModel::getOnlineServiceDetail($cateId);
292 } 290 }
293 $this->setTitle('在线客服'); 291 $this->setTitle('在线客服');
294 $this->setNavHeader($cateName, true, ''); 292 $this->setNavHeader($cateName, true, '');
@@ -305,7 +303,7 @@ class HomeController extends AbstractAction @@ -305,7 +303,7 @@ class HomeController extends AbstractAction
305 $uid = $this->getUid(); 303 $uid = $this->getUid();
306 $gender = Helpers::getGenderByCookie(); 304 $gender = Helpers::getGenderByCookie();
307 $yh_channel = Helpers::getChannelByCookie(); 305 $yh_channel = Helpers::getChannelByCookie();
308 - $guangInfo = \home\GuangModel::getMyGuang($uid, $page, $yh_channel, $gender, $limit); 306 + $guangInfo = \Home\GuangModel::getMyGuang($uid, $page, $yh_channel, $gender, $limit);
309 $totalPage = $guangInfo['totalPage']; 307 $totalPage = $guangInfo['totalPage'];
310 unset($guangInfo['totalPage']); 308 unset($guangInfo['totalPage']);
311 if ($page == 1) { 309 if ($page == 1) {
1 <?php 1 <?php
2 2
3 -namespace home; 3 +namespace Home;
4 4
5 use LibModels\Wap\Home\OrderData; 5 use LibModels\Wap\Home\OrderData;
6 use Plugin\Helpers; 6 use Plugin\Helpers;