diff --git a/app/home/controller/Base.php b/app/home/controller/Base.php index 4ee6a93..830cff0 100644 --- a/app/home/controller/Base.php +++ b/app/home/controller/Base.php @@ -41,7 +41,6 @@ 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, '网站配置信息获取失败'); diff --git a/app/service/SwooleService.php b/app/service/SwooleService.php index 4b79455..39276e3 100644 --- a/app/service/SwooleService.php +++ b/app/service/SwooleService.php @@ -7,8 +7,8 @@ class SwooleService { private static ?self $instance = null; private Client $client; - private string $host = '127.0.0.1'; - private int $port = 9502; + private string $host = 'ossup.jzvisa.com'; + private int $port = 19501; private float $timeout = 0.5; // 私有化构造函数