Przeglądaj źródła

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

过卫栋 3 tygodni temu
rodzic
commit
7239955e61

+ 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();