This commit is contained in:
20
app/index/controller/TopicLaptop.php
Normal file
20
app/index/controller/TopicLaptop.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace app\index\controller;
|
||||
|
||||
use think\facade\View;
|
||||
use think\Request;
|
||||
|
||||
class TopicLaptop extends Common
|
||||
{
|
||||
/**
|
||||
* 专题 - 笔记本电脑首页
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
|
||||
|
||||
return View::fetch('index');
|
||||
}
|
||||
}
|
||||
@@ -107,10 +107,16 @@ Route::group('topic', function () {
|
||||
});
|
||||
|
||||
// 专题 - 电力品线
|
||||
Route::group("power_prodline", function() {
|
||||
Route::group('power_prodline', function() {
|
||||
// 专题 - 电力品线首页
|
||||
Route::get('index', 'TopicPowerProdline/index');
|
||||
});
|
||||
|
||||
// 专题 - 笔记本电脑
|
||||
Route::group('laptop', function() {
|
||||
// 专题 - 笔记本电脑首页
|
||||
Route::get('index', 'TopicLaptop/index');
|
||||
});
|
||||
});
|
||||
|
||||
// 数据迁移
|
||||
|
||||
Reference in New Issue
Block a user