<?php
namespace app\h5\controller;

use think\Controller;
use think\Db;
use think\Exception;

class Headoffice extends Controller
{

    public function index(){
        $sys_info =Db::name('config')
            ->where('name','web_site_title')
            ->find();
        $createTime = "2024-06-08"; // 系统运行开始日期
        $day = floor((time() - strtotime($createTime))/86400);

        $this->assign('sys_info',$sys_info);
        $this->assign('day',$day);

        return $this->fetch();
    }

}