diff --git a/app/Services/CacheTg.php b/app/Services/CacheTg.php index 3561b7ac..9be6251d 100755 --- a/app/Services/CacheTg.php +++ b/app/Services/CacheTg.php @@ -102,6 +102,11 @@ final class CacheTg $sCode = $sGroupCode."-".$sUlid; + $sGroupCode = "xx"; + $aBotCode = explode("::", $sGroupCode); + $sBotCode = $aBotCode[0]; + // 如果这样会不会出错 + $sBotToken = ModelTelegramKey::botTokenByCode($sGroupCode); // $sDocumentRoot = $_SERVER['DOCUMENT_ROOT'];