郑晓宇 6 years ago
parent
commit
f879461061
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Jobs/Settlement.php

+ 1 - 1
app/Jobs/Settlement.php

@@ -141,7 +141,7 @@ class Settlement implements ShouldQueue
             $update_data["end_at"] = date("Y-m-d H:i:s");
             $update_data["end_at"] = date("Y-m-d H:i:s");
             RoomQuestion::where([
             RoomQuestion::where([
                 "room_id" => $this->room_id,
                 "room_id" => $this->room_id,
-                "question_id" => $this->question_id,
+                "question_id" => $question_id,
             ])->update($update_data);
             ])->update($update_data);
 
 
             //返回各个用户回答的问题
             //返回各个用户回答的问题