This commit is contained in:
gaofeng
2026-05-12 18:34:55 +08:00
parent 6d9aee81aa
commit 261d70c7a5

View File

@@ -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, '网站配置信息获取失败');