refactor: 系统url
This commit is contained in:
@@ -13,7 +13,7 @@ use think\facade\Route;
|
||||
Route::get('/', 'Index/index');
|
||||
|
||||
// 产品相关路由
|
||||
Route::group('product', function() {
|
||||
Route::group('product', function () {
|
||||
// 产品分类页
|
||||
Route::get('category/:id', 'Product/category');
|
||||
// 产品详情页
|
||||
@@ -27,7 +27,7 @@ Route::group('product', function() {
|
||||
});
|
||||
|
||||
// 文章相关路由
|
||||
Route::group('article', function() {
|
||||
Route::group('article', function () {
|
||||
// 文章列表页
|
||||
Route::get('index/:pid', 'Article/index');
|
||||
// 文章详情页
|
||||
@@ -39,21 +39,21 @@ Route::group('article', function() {
|
||||
});
|
||||
|
||||
// 附件下载
|
||||
Route::group('attachment', function() {
|
||||
Route::group('attachment', function () {
|
||||
// 软件驱动/手册
|
||||
Route::get('index', 'Attachment/index');
|
||||
// 视频
|
||||
Route::get('video', 'Attachment/video');
|
||||
Route::get('index', 'Attachment/index');
|
||||
// 视频
|
||||
Route::get('video', 'Attachment/video');
|
||||
});
|
||||
|
||||
// 问答中心
|
||||
Route::group('faq', function() {
|
||||
Route::group('faq', function () {
|
||||
// 问答列表页
|
||||
Route::get('index', 'Faq/index');
|
||||
});
|
||||
|
||||
// 关于我们
|
||||
Route::group('aboutus', function() {
|
||||
Route::group('aboutus', function () {
|
||||
// 品牌介绍
|
||||
Route::get('introduction', 'AboutUs/introduction');
|
||||
// 品牌故事
|
||||
@@ -67,7 +67,7 @@ Route::group('aboutus', function() {
|
||||
});
|
||||
|
||||
// 联系我们
|
||||
Route::group('contactus', function() {
|
||||
Route::group('contactus', function () {
|
||||
// 联系我们
|
||||
Route::get('index', 'ContactUs/index');
|
||||
// 留言联系我们
|
||||
@@ -85,9 +85,9 @@ Route::group('contactus', function() {
|
||||
});
|
||||
|
||||
// 专题
|
||||
Route::group('topic', function() {
|
||||
Route::group('topic', function () {
|
||||
// 专题-Nas
|
||||
Route::group('nas', function() {
|
||||
Route::group('nas', function () {
|
||||
// 专题-Nas首页
|
||||
Route::get('index', 'TopicNas/index');
|
||||
// 专题-Nas产品体验页
|
||||
|
||||
Reference in New Issue
Block a user