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