seven 2 viikkoa sitten
vanhempi
commit
c3699cfda4
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      app/Services/BaseService.php

+ 2 - 2
app/Services/BaseService.php

@@ -223,8 +223,8 @@ class BaseService
         $replyInfo = KeyboardService::findOne(['button' => '投注菜单']);
         
         if($replyInfo && $replyInfo->buttons){
-            $buttons = json_decode($replyInfo->reply, true);
-            var_dump($buttons);
+            $buttons = json_decode($replyInfo->buttons, true);
+            
            foreach ($buttons as $row) {
                 $inlineButton[] = [];
                 foreach ($row as $button) {