wesmiler 3 tuần trước cách đây
mục cha
commit
1f1bdd7472
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/Services/Api/PaperService.php

+ 2 - 2
app/Services/Api/PaperService.php

@@ -450,7 +450,7 @@ class PaperService extends BaseService
                         }
                     })
                     ->where('a.sort','>', $sort)
-                    ->select(['a.id','a.sort','a.topic_name','b.id as answer_topic_id','b.answer_log_id'])
+                    ->select(['a.id','a.sort','a.topic_name','b.accurate','b.id as answer_topic_id','b.answer_log_id'])
                     ->orderBy('a.sort','asc')
                     ->orderBy('a.id','asc')
                     ->first();
@@ -466,7 +466,7 @@ class PaperService extends BaseService
                         }
                     })
                     ->where('a.sort','<', $sort)
-                    ->select(['a.id','a.sort','a.topic_name','b.id as answer_topic_id','b.answer_log_id'])
+                    ->select(['a.id','a.sort','a.topic_name','b.accurate','b.id as answer_topic_id','b.answer_log_id'])
                     ->orderBy('a.sort','desc')
                     ->orderBy('a.id','desc')
                     ->first();