seven 3 days ago
parent
commit
db5d72f6cd
1 changed files with 10 additions and 0 deletions
  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'=>'封盘成功'];
     }