Sfoglia il codice sorgente

fix: questions_temp 表名为 questions_tem

过卫栋 3 settimane fa
parent
commit
5cb9f616f8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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();