Authored by hf

do add app share order feature

... ... @@ -19,7 +19,6 @@
line-height: 1.5;
color: #444;
}
</style>
</head>
<body>
... ...
<?php
use Action\AbstractAction;
use Plugin\Helpers;
/**
* 帮助中心
... ... @@ -10,11 +9,11 @@ class HelpController extends AbstractAction
{
/**
* 晒单
* 晒单 (APP使用)
*/
public function shareOrderAction()
public function shareorderAction()
{
$this->_view->html('help/shareorder');
// 渲染模板并输出
$this->_view->display('share-order');
}
... ...
... ... @@ -117,4 +117,11 @@ routes.brandsearch.route.module = Category
routes.brandsearch.route.controller = Brand
routes.brandsearch.route.action = Search
; 晒单
routes.helpshareorder.type = "rewrite"
routes.helpshareorder.match = "/help/shareorder.html$"
routes.helpshareorder.route.module = Index
routes.helpshareorder.route.controller = Help
routes.helpshareorder.route.action = Shareorder
... ...