Authored by hf

do add app share order feature

@@ -19,7 +19,6 @@ @@ -19,7 +19,6 @@
19 line-height: 1.5; 19 line-height: 1.5;
20 color: #444; 20 color: #444;
21 } 21 }
22 -  
23 </style> 22 </style>
24 </head> 23 </head>
25 <body> 24 <body>
1 <?php 1 <?php
2 2
3 use Action\AbstractAction; 3 use Action\AbstractAction;
4 -use Plugin\Helpers;  
5 4
6 /** 5 /**
7 * 帮助中心 6 * 帮助中心
@@ -10,11 +9,11 @@ class HelpController extends AbstractAction @@ -10,11 +9,11 @@ class HelpController extends AbstractAction
10 { 9 {
11 10
12 /** 11 /**
13 - * 晒单 12 + * 晒单 (APP使用)
14 */ 13 */
15 - public function shareOrderAction() 14 + public function shareorderAction()
16 { 15 {
17 - 16 + $this->_view->html('help/shareorder');
18 // 渲染模板并输出 17 // 渲染模板并输出
19 $this->_view->display('share-order'); 18 $this->_view->display('share-order');
20 } 19 }
@@ -117,4 +117,11 @@ routes.brandsearch.route.module = Category @@ -117,4 +117,11 @@ routes.brandsearch.route.module = Category
117 routes.brandsearch.route.controller = Brand 117 routes.brandsearch.route.controller = Brand
118 routes.brandsearch.route.action = Search 118 routes.brandsearch.route.action = Search
119 119
  120 +; 晒单
  121 +routes.helpshareorder.type = "rewrite"
  122 +routes.helpshareorder.match = "/help/shareorder.html$"
  123 +routes.helpshareorder.route.module = Index
  124 +routes.helpshareorder.route.controller = Help
  125 +routes.helpshareorder.route.action = Shareorder
  126 +
120 127