Browse Source

后台-投票列表-其他选项

15313670163 1 month ago
parent
commit
888a8f4ec0
2 changed files with 2 additions and 1 deletions
  1. 1 0
      app/JsonRpc/NewsService.php
  2. 1 1
      runtime/hyperf.pid

+ 1 - 0
app/JsonRpc/NewsService.php

@@ -961,6 +961,7 @@ class NewsService implements NewsServiceInterface
             // $total = 0;
             // $total = 0;
             if(!empty($other)){
             if(!empty($other)){
                 $total = $total + $other['results'];
                 $total = $total + $other['results'];
+                $other['choice_name'] = $other['choice_name'].'(其他)';
                 if(!empty($others)){
                 if(!empty($others)){
                     $other['hasChildren'] = true;
                     $other['hasChildren'] = true;
                     // array_push($other,['hasChildren','=',true]);
                     // array_push($other,['hasChildren','=',true]);

+ 1 - 1
runtime/hyperf.pid

@@ -1 +1 @@
-37818
+39344