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