提交
This commit is contained in:
@@ -41,7 +41,6 @@ class Base extends BaseController
|
|||||||
// 网站配置信息获取
|
// 网站配置信息获取
|
||||||
if (!file_exists(app()->getRootPath().'data/config.json')) {
|
if (!file_exists(app()->getRootPath().'data/config.json')) {
|
||||||
$domain = $_SERVER['HTTP_HOST'];
|
$domain = $_SERVER['HTTP_HOST'];
|
||||||
$domain ='evisa.hkpgsow.cn';
|
|
||||||
$web_config = Httpcurl::request(GET_WEB_CONFIG_URL . MODEL . '/domain/' . $domain, 'get');
|
$web_config = Httpcurl::request(GET_WEB_CONFIG_URL . MODEL . '/domain/' . $domain, 'get');
|
||||||
if ($web_config[3]) {
|
if ($web_config[3]) {
|
||||||
abort(500, '网站配置信息获取失败');
|
abort(500, '网站配置信息获取失败');
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ class SwooleService
|
|||||||
{
|
{
|
||||||
private static ?self $instance = null;
|
private static ?self $instance = null;
|
||||||
private Client $client;
|
private Client $client;
|
||||||
private string $host = '127.0.0.1';
|
private string $host = 'ossup.jzvisa.com';
|
||||||
private int $port = 9502;
|
private int $port = 19501;
|
||||||
private float $timeout = 0.5;
|
private float $timeout = 0.5;
|
||||||
|
|
||||||
// 私有化构造函数
|
// 私有化构造函数
|
||||||
|
|||||||
Reference in New Issue
Block a user