提交
This commit is contained in:
@@ -41,6 +41,7 @@ class Base extends BaseController
|
||||
// 网站配置信息获取
|
||||
if (!file_exists(app()->getRootPath().'data/config.json')) {
|
||||
$domain = $_SERVER['HTTP_HOST'];
|
||||
$domain ='evisa.hkpgsow.cn';
|
||||
$web_config = Httpcurl::request(GET_WEB_CONFIG_URL . MODEL . '/domain/' . $domain, 'get');
|
||||
if ($web_config[3]) {
|
||||
abort(500, '网站配置信息获取失败');
|
||||
|
||||
Reference in New Issue
Block a user