Ken 6 өдөр өмнө
parent
commit
7ad4819e4d

+ 2 - 1
app/Services/BetService.php

@@ -195,12 +195,13 @@ class BetService extends BaseService
                 $keywords = $item['rule'];
                 $amount = $item['amount'];
                 $issueNo = "";
-                $b = static::singleNote($memberId, $keywords, $amount, $issueNo, $text, $errText);
+                $b = static::singleNote($memberId, $keywords, $amount, $issueNo, $text, $error);
                 if ($b) {
                     $text = str_replace("{issue_no}", $issueNo, $text);
                     $success = true;
                     $text .= "\n";
                 } else {
+                    $errText .= $error;
                     $errText .= "\n";
                 }