Pārlūkot izejas kodu

fix: questions_temp 表名为 questions_tem

过卫栋 3 nedēļas atpakaļ
vecāks
revīzija
5cb9f616f8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/Http/Controllers/Api/QuestionPdfController.php

+ 1 - 1
app/Http/Controllers/Api/QuestionPdfController.php

@@ -72,7 +72,7 @@ class QuestionPdfController extends Controller
         try {
             // 1. Fetch questions from database (使用 questions_temp 临时表)
             $questions = DB::connection('remote_mysql')
-                ->table('questions_temp')
+                ->table('questions_tem')
                 ->whereIn('id', $questionIds)
                 ->get();