| 12345678910111213141516171819202122 |
- <?php
- namespace App\Services;
- use App\Models\PreQuestionCandidate;
- use Illuminate\Support\Facades\Log;
- class QuestionBankSyncService
- {
- public function pushCandidate(PreQuestionCandidate $candidate): bool
- {
- if (!$candidate->structured_json) {
- return false;
- }
- Log::info('QuestionBankSyncService is local-only; skip external sync.', [
- 'candidate_id' => $candidate->id,
- ]);
- return true;
- }
- }
|