This commit is contained in:
Jethro Lin 2024-12-04 17:03:46 +08:00
parent 1ab5da5576
commit e0e55719d0

View file

@ -8,20 +8,21 @@
use App\Http\Controllers\Controller;
use App\Models\Admin;
use App\Models\Client;
use App\Models\LlmProvider;
use App\Services\Auth\TokenService;
use App\Services\LogService;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Redis;
use Illuminate\Validation\ValidationException;
class ClientController extends Controller
{
/**
* @var TokenService
* @var Admin
*/
private readonly TokenService $tokenService;
private Admin $admin;
public function __construct(
private readonly TokenService $tokenService,