/start 调用错误
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user