From a7fde8d67fd7bb3119eaf2db94ac98e86ef25756 Mon Sep 17 00:00:00 2001 From: GeekQu Date: Mon, 1 Jul 2019 13:25:48 +0800 Subject: [PATCH] fix --- app/Controllers/ConfController.php | 4 ++-- app/Utils/TelegramProcess.php | 2 +- app/Utils/URL.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Controllers/ConfController.php b/app/Controllers/ConfController.php index 71a21a01..ed09567d 100644 --- a/app/Controllers/ConfController.php +++ b/app/Controllers/ConfController.php @@ -6,7 +6,7 @@ * PHP version 7.2+ * * @category GeekQu - * @package App/Controllers/Controllers + * @package App/Controllers/ConfController * @author GeekQu * @license MIT https://github.com/GeekQu/ss-panel-v3-mod_Uim/blob/dev/LICENSE * @link https://github.com/GeekQu @@ -23,7 +23,7 @@ use Symfony\Component\Yaml\Exception\ParseException; * ConfController * * @category GeekQu - * @package App/Controllers/Controllers + * @package App/Controllers/ConfController * @author GeekQu * @license MIT https://github.com/GeekQu/ss-panel-v3-mod_Uim/blob/dev/LICENSE * @link https://github.com/GeekQu diff --git a/app/Utils/TelegramProcess.php b/app/Utils/TelegramProcess.php index 8257e29f..e49eca59 100644 --- a/app/Utils/TelegramProcess.php +++ b/app/Utils/TelegramProcess.php @@ -143,7 +143,7 @@ class TelegramProcess /help 获取帮助信息 /rss 获取节点订阅'; if ($user == null) { - $help_list .= PHP_EOL . '您未绑定本站账号,您可以进入网站的“资料编辑”,在右下方绑定您的账号'; + $reply['message'] .= PHP_EOL . '您未绑定本站账号,您可以进入网站的“资料编辑”,在右下方绑定您的账号'; } break; default: diff --git a/app/Utils/URL.php b/app/Utils/URL.php index 1e88cb51..9dcf5b9d 100644 --- a/app/Utils/URL.php +++ b/app/Utils/URL.php @@ -449,10 +449,10 @@ class URL $server['path'] = ($server['path'] . '?redirect=' . $user->getMuMd5()); if ($server['tls'] == 'tls' && $server['net'] == 'ws') { $server['obfs_param'] = ('mode=ws;security=tls;path=' . $server['path'] . - ';host=' . $return_array['host']); + ';host=' . $server['host']); } else { $server['obfs_param'] = ('mode=ws;security=none;path=' . $server['path'] . - ';host=' . $return_array['host']); + ';host=' . $server['host']); } $array_server[] = $server; $server_index++;