mirror of
https://github.com/v2board/v2board.git
synced 2024-11-15 00:09:13 +08:00
19 lines
351 B
PHP
19 lines
351 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Controllers\User;
|
||
|
|
||
|
use Illuminate\Http\Request;
|
||
|
use App\Http\Controllers\Controller;
|
||
|
|
||
|
class CommController extends Controller
|
||
|
{
|
||
|
public function config()
|
||
|
{
|
||
|
return response([
|
||
|
'data' => [
|
||
|
'isTelegram' => (int)config('v2board.telegram_bot_enable', 0)
|
||
|
]
|
||
|
]);
|
||
|
}
|
||
|
}
|