Ken 1 tuần trước cách đây
mục cha
commit
ff69f723b6
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/Services/BaseService.php

+ 1 - 0
app/Services/BaseService.php

@@ -199,6 +199,7 @@ class BaseService
     public static function bettingGroupNotice($text, $keyboard = [], $image = '', $isTop = false, $separator = "\n")
     {
         $bettingGroup = Config::where('field', 'betting_group')->first()->val;
+        if (empty($separator)) $separator = "\n";
 //        $separator = "\n";
         $array = explode($separator, $text);
         foreach ($array as &$line) {