seven hai 4 días
pai
achega
db5d72f6cd
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      app/Services/IssueService.php

+ 10 - 0
app/Services/IssueService.php

@@ -208,6 +208,16 @@ class IssueService extends BaseService
             }
             self::bettingGroupNotice($text, $buttons, $image);
         }
+        $replyInfo = KeyboardService::findOne(['button' => '封盘开奖']);
+        if($replyInfo){
+            $text = $replyInfo->reply;
+            $buttons = json_decode($replyInfo->buttons,true);
+            $image = $replyInfo->image;
+            if($image){
+                $image = url($image);
+            }
+            self::bettingGroupNotice($text, $buttons, $image);
+        }
         return ['code'=>self::YES, 'msg'=>'封盘成功'];
     }