소스 검색

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

15313670163 1 개월 전
부모
커밋
888a8f4ec0
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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;
             if(!empty($other)){
                 $total = $total + $other['results'];
+                $other['choice_name'] = $other['choice_name'].'(其他)';
                 if(!empty($others)){
                     $other['hasChildren'] = true;
                     // array_push($other,['hasChildren','=',true]);

+ 1 - 1
runtime/hyperf.pid

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