Quellcode durchsuchen

feat: pdf预览接口修改成临时表questions_temp

过卫栋 vor 3 Wochen
Ursprung
Commit
7239955e61
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      app/Http/Controllers/Api/QuestionPdfController.php

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

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