15313670163 há 1 mês atrás
pai
commit
8d15fb58ba
3 ficheiros alterados com 5 adições e 1 exclusões
  1. 1 0
      app/JsonRpc/NewsService.php
  2. 1 1
      runtime/hyperf.pid
  3. 3 0
      runtime/logs/hyperf.log

+ 1 - 0
app/JsonRpc/NewsService.php

@@ -668,6 +668,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

+ 3 - 0
runtime/logs/hyperf.log

@@ -2973,3 +2973,6 @@
 [2025-02-28T14:34:50.512939+08:00] sql.INFO: [536.85] select `article_survey`.*, `article`.`survey_type` from `article_survey` left join `article` on `article_survey`.`art_id` = `article`.`id` where (`sur_id` = '2025022605404813386794') and `is_other` = '0' [] []
 [2025-02-28T14:34:51.095873+08:00] sql.INFO: [568.63] select * from `article_survey` where (`sur_id` = '2025022605404813386794') and `is_other` = '1' and `other_id` = '0' limit 1 [] []
 [2025-02-28T14:34:51.099559+08:00] sql.INFO: [2.79] select * from `article_survey` where (`sur_id` = '2025022605404813386794') and `is_other` = '1' and `other_id` != '0' order by `created_at` desc [] []
+[2025-02-28T15:24:13.909990+08:00] sql.INFO: [15.78] select `article_survey`.*, `article`.`survey_type` from `article_survey` left join `article` on `article_survey`.`art_id` = `article`.`id` where (`sur_id` = '2025022802202819818043') and `is_other` = '0' [] []
+[2025-02-28T15:24:13.935712+08:00] sql.INFO: [2.9] select * from `article_survey` where (`sur_id` = '2025022802202819818043') and `is_other` = '1' and `other_id` = '0' limit 1 [] []
+[2025-02-28T15:24:13.939182+08:00] sql.INFO: [2.67] select * from `article_survey` where (`sur_id` = '2025022802202819818043') and `is_other` = '1' and `other_id` != '0' order by `created_at` desc [] []