|
|
@@ -595,8 +595,8 @@ class BetService extends BaseService
|
|
|
}
|
|
|
$item['profit'] = $profit;
|
|
|
|
|
|
- // $yl = $profit - $v['amount'];
|
|
|
- $yl = bcsub($profit, $amount, 2); // 盈利
|
|
|
+ $yl = $profit - $amount;
|
|
|
+ // $yl = bcsub($profit, $amount, 2); // 盈利
|
|
|
if ($k + 1 <= $realNoticeNum) {
|
|
|
|
|
|
$text .= "{$v['keywords']} 【" . $lastStr . "】{$v['amount']} {$profit} {$yl}\n";
|
|
|
@@ -658,8 +658,8 @@ class BetService extends BaseService
|
|
|
}
|
|
|
$item['profit'] = $profit;
|
|
|
|
|
|
- // $yl = $profit - $amount;
|
|
|
- $yl = bcsub($profit, $amount, 2); // 盈利
|
|
|
+ $yl = $profit - $amount;
|
|
|
+ // $yl = bcsub($profit, $amount, 2); // 盈利
|
|
|
if ($k + 1 <= $rand_num) {
|
|
|
$text .= "{$v['keywords']} 【" . $lastStr . "】 {$v['amount']} {$profit} {$yl}\n";
|
|
|
}
|