...
|
...
|
@@ -871,31 +871,23 @@ class HomeController extends AbstractAction |
|
|
$this->_view->display('order-detail', array('orderDetail' => $data, 'orderDetailPage' => true));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 帮助中心列表页
|
|
|
*/
|
|
|
public function helpAction()
|
|
|
{
|
|
|
$service = Home\HelpModel::serviceInfo();
|
|
|
$this->setTitle('帮助中心');
|
|
|
$this->setNavHeader('帮助中心');
|
|
|
$data = array(
|
|
|
'iHelp' =>$service,
|
|
|
);
|
|
|
$this->_view->display('i-help', $data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 帮助中心列表详细信息
|
|
|
*/
|
|
|
public function helpDetailAction()
|
|
|
{
|
|
|
$code = $this->get('code', 0);
|
|
|
$service = Home\HelpModel::serviceDetail($code);
|
|
|
$data = array(
|
|
|
'iHelp' => $service,
|
|
|
);
|
|
|
print_r($service);
|
|
|
$this->_view->display('helpDetail', $data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 帮助中心列表详细信息
|
|
|
*/
|
|
|
public function helpDetailAction() {
|
|
|
$caption = $this->get('caption', '帮助中心');
|
|
|
$code = $this->get('code', 0);
|
|
|
if (empty($code)) {
|
|
|
$this->error();
|
|
|
}
|
|
|
|
|
|
$this->setTitle($caption);
|
|
|
$this->setNavHeader($caption);
|
|
|
|
|
|
$service = Home\HelpModel::serviceDetail($code);
|
|
|
$this->_view->display('helpDetail', array(
|
|
|
'iHelp' => $service,
|
|
|
));
|
|
|
}
|
|
|
} |
...
|
...
|
|