...
|
...
|
@@ -874,30 +874,28 @@ class HomeController extends AbstractAction |
|
|
/**
|
|
|
* 帮助列表页
|
|
|
*/
|
|
|
public function helpAction()
|
|
|
{
|
|
|
$this->setTitle('帮助中心');
|
|
|
$this->setNavHeader('帮助中心');
|
|
|
$data = array(
|
|
|
'iHelp' => array(
|
|
|
array('caption' => '新用户注册'),
|
|
|
)
|
|
|
);
|
|
|
$this->_view->display('i-help', $data);
|
|
|
}
|
|
|
public function helpAction()
|
|
|
{
|
|
|
$service = Home\HelpModel::serviceInfo();
|
|
|
$this->setTitle('帮助中心');
|
|
|
$this->setNavHeader('帮助中心');
|
|
|
$data = array(
|
|
|
'iHelp' =>$service,
|
|
|
);
|
|
|
$this->_view->display('i-help', $data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 帮助列表页
|
|
|
*/
|
|
|
public function helpDetailAction()
|
|
|
{
|
|
|
$this->setTitle('帮助中心');
|
|
|
$this->setNavHeader('帮助中心');
|
|
|
{
|
|
|
$code = $this->get('code', 0);
|
|
|
$service = Home\HelpModel::serviceDetail($code);
|
|
|
$data = array(
|
|
|
'iHelp' => array(
|
|
|
array('name' => '新用户注册'),
|
|
|
)
|
|
|
'iHelp' => $service,
|
|
|
);
|
|
|
print_r($service);
|
|
|
$this->_view->display('helpDetail', $data);
|
|
|
}
|
|
|
} |
...
|
...
|
|