|
|
@@ -142,10 +142,10 @@ class BalanceLogService extends BaseService
|
|
|
|
|
|
$walletInfo = WalletService::model()::where('member_id', $memberId)->first();
|
|
|
$text = '';
|
|
|
- $text .= "当日流水: " . $flow . "\n";
|
|
|
- $text .= "当日返水: " . $refund . "\n";
|
|
|
- $text .= "当日盈利: " . ($profit + $refund + $flow) . "\n";
|
|
|
- $text .= "余额: " . $walletInfo['available_balance'] . "\n";
|
|
|
+ $text .= "当日流水: " . number_format($flow, 2) . "\n";
|
|
|
+ $text .= "当日返水: " . number_format($refund, 2) . "\n";
|
|
|
+ $text .= "当日盈利: " . number_format(($profit + $refund + $flow), 2) . "\n";
|
|
|
+ $text .= "余额: " . number_format($walletInfo['available_balance'],2) . "\n";
|
|
|
return [
|
|
|
'chat_id' => $memberId,
|
|
|
'text' => $text
|