From 68aa6e33f5cf6fa684b2a763b3c32821542c643a Mon Sep 17 00:00:00 2001 From: root Date: Sat, 24 May 2025 11:55:25 +0000 Subject: [PATCH] =?UTF-8?q?/start=20=E8=B0=83=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/plugins/Premium.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/service/plugins/Premium.php b/app/service/plugins/Premium.php index 4e83d83..fbafb3f 100755 --- a/app/service/plugins/Premium.php +++ b/app/service/plugins/Premium.php @@ -8,6 +8,7 @@ use think\facade\Log; use app\service\Telegram; use app\model\Member; use app\service\Customer; +use think\facade\Request; class Premium @@ -89,8 +90,8 @@ class Premium { if ($command == "/start") { if ($chat['type'] == "private") { - - $startbanner = $this->bots['apiurl']."/img/banner.jpg"; + $url= Request::domain(); + $startbanner = $url."/img/banner.jpg"; //在这里更新一个按钮 //根据开启功能引导 $inline_keyboard = array(