diff --git a/route/app.php b/route/app.php index 6167ff9..8916ab9 100755 --- a/route/app.php +++ b/route/app.php @@ -22,6 +22,7 @@ Route::get('position/:id', "position/detail")->pattern(['id' => '\d+']); Route::get('/activity/:id', "article/detail")->pattern(['id' => '\d+']); Route::get('/news/:id', "article/detail")->pattern(['id' => '\d+']); Route::get('/service/:id', "article/detail")->pattern(['id' => '\d+']); +Route::get('/market/:id', "article/detail")->pattern(['id' => '\d+']); Route::get('/product/detail/:id', "product/detail")->pattern(['id' => '\d+']); Route::rule('articles/ajaxlist', 'article/ajaxList', 'GET|POST'); Route::get('articles/:category_id', "article/index"); diff --git a/view/article/market_detail.html b/view/article/market_detail.html new file mode 100755 index 0000000..fba0ff1 --- /dev/null +++ b/view/article/market_detail.html @@ -0,0 +1,29 @@ +{layout name="layout" /} +{php} +use app\model\Category; +$childrenMenu = Category::getChildrenByParentId($topCategoryId); +{/php} + +{include file="public/about_second" /} + + +