|
|
@@ -159,7 +159,7 @@ class IssueService extends BaseService
|
|
|
// $text = "";
|
|
|
// $text .= "第".$info->issue_no."期\n";
|
|
|
// $text .= "🔥🔥🔥🔥🔥开始下注🔥🔥🔥🔥🔥\n";
|
|
|
- $replyInfo = KeyboardService::findOne(['button' => '开始下注']);
|
|
|
+ $replyInfo = KeyboardService::findOne(['button' => '玩法规则']);
|
|
|
if ($replyInfo) {
|
|
|
$text = $replyInfo->reply;
|
|
|
$buttons = json_decode($replyInfo->buttons, true);
|
|
|
@@ -167,9 +167,13 @@ class IssueService extends BaseService
|
|
|
if ($image) {
|
|
|
$image = url($image);
|
|
|
}
|
|
|
+ if (empty($buttons)) {
|
|
|
+ $buttons = self::getOperateButton();
|
|
|
+ }
|
|
|
self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
|
}
|
|
|
- $replyInfo = KeyboardService::findOne(['button' => '玩法规则']);
|
|
|
+
|
|
|
+ $replyInfo = KeyboardService::findOne(['button' => '开始下注']);
|
|
|
if ($replyInfo) {
|
|
|
$text = $replyInfo->reply;
|
|
|
$buttons = json_decode($replyInfo->buttons, true);
|
|
|
@@ -177,11 +181,9 @@ class IssueService extends BaseService
|
|
|
if ($image) {
|
|
|
$image = url($image);
|
|
|
}
|
|
|
- if (empty($buttons)) {
|
|
|
- $buttons = self::getOperateButton();
|
|
|
- }
|
|
|
self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
|
}
|
|
|
+
|
|
|
return ['code' => self::YES, 'msg' => '开始下注'];
|
|
|
}
|
|
|
|