18 lines
392 B
PHP
18 lines
392 B
PHP
<?php
|
|
|
|
namespace App\Domains\Admin\Controllers;
|
|
|
|
use App\Scopes\CommonController;
|
|
use Illuminate\Http\JsonResponse;
|
|
use Illuminate\Http\Request;
|
|
|
|
class TenantImpressGetController extends CommonController
|
|
{
|
|
public function __invoke(Request $request): JsonResponse
|
|
{
|
|
return response()->json([
|
|
'impress_text' => $this->tenant->impress_text ?? '',
|
|
]);
|
|
}
|
|
}
|