|
@@ -81,17 +81,6 @@ class Home extends Controller
|
|
|
|
|
|
|
|
public function test()
|
|
public function test()
|
|
|
{
|
|
{
|
|
|
-
|
|
|
|
|
- echo "开始暂停:";
|
|
|
|
|
- echo time();
|
|
|
|
|
- echo "\n";
|
|
|
|
|
- sleep(3); // 暂停 3 秒
|
|
|
|
|
- echo "暂停结束";
|
|
|
|
|
- echo time();
|
|
|
|
|
- echo "\n";
|
|
|
|
|
- exit();
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
$telegram = new Api(config('services.telegram.token'));
|
|
$telegram = new Api(config('services.telegram.token'));
|
|
|
// $chatId = '@GGGBBBB1';
|
|
// $chatId = '@GGGBBBB1';
|
|
|
// $chat = $telegram->getChat(['chat_id' => $chatId]);
|
|
// $chat = $telegram->getChat(['chat_id' => $chatId]);
|