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