You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
720 B
PHP
39 lines
720 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Front;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use Illuminate\Contracts\View\View;
|
|
use App\Libs\TraitBoard;
|
|
|
|
class IndexController extends Controller
|
|
{
|
|
use TraitBoard;
|
|
|
|
protected $page = [
|
|
'code' => 'index',
|
|
'title' => '',
|
|
'subTitle' => '',
|
|
'description' => '',
|
|
'link' => '/',
|
|
'is_main' => true
|
|
];
|
|
|
|
/**
|
|
* 홈페이지 메인
|
|
*
|
|
* @Verb : GET
|
|
* @Path : /
|
|
* @return View
|
|
*/
|
|
public function index()
|
|
{
|
|
$data = [
|
|
'notice' => $this->getLatest('notice'),
|
|
'news' => $this->getLatest('news'),
|
|
];
|
|
|
|
return $this->setView('index', $data);
|
|
}
|
|
}
|