Ken hace 6 días
padre
commit
7ad4819e4d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      app/Services/BetService.php

+ 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";
                 }