Ken 1 settimana fa
parent
commit
ca792d43ce
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      app/Services/BaseService.php

+ 2 - 1
app/Services/BaseService.php

@@ -196,7 +196,7 @@ class BaseService
      * @param string $separator 分隔符
      * @param boolean $isTop 是否置顶
      */
-    public static function bettingGroupNotice($text, $keyboard = [], $image = '', $isTop = false, $separator = "\n"): void
+    public static function bettingGroupNotice($text, $keyboard = [], $image = '', $isTop = false, $separator = "\n")
     {
         $bettingGroup = Config::where('field', 'betting_group')->first()->val;
 //        $separator = "\n";
@@ -215,6 +215,7 @@ class BaseService
                 $texts[] = $item;
             }
         }
+        return $texts;
 
         foreach ($texts as $index => $item) {
             $botMsg = [