File size: 351 Bytes
a4a352b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
namespace app\api\controller;
use think\Controller;
use app\common\controller\All;

class Base extends All
{
    public function __construct()
    {
        parent::__construct();
        $config = $GLOBALS['config']['site'];
        $this->assign($config);

        //站点关闭中
        if($config['site_status'] == 0){

        }
    }

}