15313670163 преди 2 месеца
родител
ревизия
b65a7782e9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/JsonRpc/NewsService.php

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -670,7 +670,7 @@ class NewsService implements NewsServiceInterface
                         }else{
                             $choice_id[0] = $choice['other']['other_id'];
                         }
-                        // return Result::success($data['choice_id']);
+                        array_push($data['choice_id'],$choice['other']['other_id']);
                     }
                     // return Result::success($data);
                     $choice = ArticleSurvey::whereIn('id',$data['choice_id'])