v2board/app/Http/Controllers/User/CommController.php

19 lines
351 B
PHP
Raw Normal View History

2020-05-19 16:49:33 +08:00
<?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)
]
]);
}
}