Browse Source

双引号

visuddhinanda 2 years ago
parent
commit
b9c52e4f6a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Console/Commands/TestSearchPali.php

+ 2 - 2
app/Console/Commands/TestSearchPali.php

@@ -43,14 +43,14 @@ class TestSearchPali extends Command
         if($result){
         if($result){
             $this->info("word={$word} total=".$result['total']);
             $this->info("word={$word} total=".$result['total']);
         }else{
         }else{
-            $this->error('word={$word} search fail');
+            $this->error("word={$word} search fail");
         }
         }
 
 
         $result = PaliSearch::search([$word],[267],'case',0,3);
         $result = PaliSearch::search([$word],[267],'case',0,3);
         if($result){
         if($result){
             $this->info("word={$word} book=267 total=".$result['total']);
             $this->info("word={$word} book=267 total=".$result['total']);
         }else{
         }else{
-            $this->error('word={$word} book=267 search fail');
+            $this->error("word={$word} book=267 search fail");
         }
         }
 
 
         return 0;
         return 0;