update telegram

This commit is contained in:
Tokumeikoi
2020-05-19 16:49:33 +08:00
parent fa6aea6e2d
commit fddd816129
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,18 @@
<?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)
]
]);
}
}