|
|
@@ -693,7 +693,7 @@ class BetService extends BaseService
|
|
|
$walletInfo = WalletService::findOne(['member_id' => $v['member_id']]);
|
|
|
$balance = $walletInfo['available_balance'];
|
|
|
|
|
|
- BalanceLogService::addLog($v['member_id'], $profit, $balance, ($balance + $profit), '中奖', $v['id'], '');
|
|
|
+ BalanceLogService::addLog($v['member_id'], $profit, ($balance - $profit),$balance, '中奖', $v['id'], '');
|
|
|
|
|
|
$text = $issue_no . "期开奖失败 \n";
|
|
|
$text .= "投注类型:{$v['keywords']} \n";
|