feat: topic ssd
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 4s
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 4s
This commit is contained in:
22
app/index/controller/TopicSsd.php
Normal file
22
app/index/controller/TopicSsd.php
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
declare (strict_types = 1);
|
||||||
|
|
||||||
|
namespace app\index\controller;
|
||||||
|
|
||||||
|
use think\facade\View;
|
||||||
|
use think\Request;
|
||||||
|
|
||||||
|
class TopicSsd
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 显示资源列表
|
||||||
|
*
|
||||||
|
* @return \think\Response
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
return View::fetch('index');
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -119,6 +119,12 @@ Route::group('topic', function () {
|
|||||||
// 专题 - 笔记本电脑首页
|
// 专题 - 笔记本电脑首页
|
||||||
Route::get('index', 'TopicLaptop/index');
|
Route::get('index', 'TopicLaptop/index');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 专题 - SSD
|
||||||
|
Route::group('ssd', function() {
|
||||||
|
// 专题 - SSD首页
|
||||||
|
Route::get('index', 'TopicSsd/index');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// 数据迁移
|
// 数据迁移
|
||||||
|
|||||||
0
app/index/view/mobile/topic_ssd/index.html
Normal file
0
app/index/view/mobile/topic_ssd/index.html
Normal file
0
app/index/view/pc/topic_ssd/index.html
Normal file
0
app/index/view/pc/topic_ssd/index.html
Normal file
Reference in New Issue
Block a user