2021-01-30 20:59:12 +08:00
|
|
|
<?php
|
2021-07-26 17:41:59 +08:00
|
|
|
/**
|
|
|
|
* @copyright Copyright (c) 2021 勾股工作室
|
|
|
|
* @license https://opensource.org/licenses/GPL-2.0
|
|
|
|
* @link https://www.gougucms.com
|
|
|
|
*/
|
|
|
|
|
2021-01-30 20:59:12 +08:00
|
|
|
declare (strict_types = 1);
|
|
|
|
|
|
|
|
namespace app\home\controller;
|
|
|
|
|
|
|
|
use app\home\BaseController;
|
|
|
|
use think\facade\View;
|
|
|
|
|
|
|
|
class Index extends BaseController
|
|
|
|
{
|
|
|
|
public function index()
|
2021-07-26 17:41:59 +08:00
|
|
|
{
|
|
|
|
add_user_log('view', '首页');
|
2021-01-30 20:59:12 +08:00
|
|
|
return View();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function main()
|
|
|
|
{
|
|
|
|
return View();
|
|
|
|
}
|
|
|
|
}
|