<?php
namespace App\Http\Controllers;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Throwable;
use Exception;
use Carbon\Carbon;
use App\Services\UtilService;

class HomeController extends Controller
{
    private $time;

    public function __construct()
    {
        $this->time = Carbon::now()->format('Y-m-d H:i:s');
    }

    /**
     * 跳到微信首页
     * @date 2021/05/31
     * @author live
     */
    public function getIndex()
    {
        $data = [];
        return view('index', $data);
    }

    public function getError()
    {
        $data = [];
        return view('404', $data);
    }
}