|
|
@@ -636,17 +636,20 @@ class BetService extends BaseService
|
|
|
$profit = 880000; // 单注最高奖金880000
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ $item['profit'] = $profit;
|
|
|
+
|
|
|
+ // $yl = $profit - $amount;
|
|
|
+ $yl = bcsub($profit, $amount, 2); // 盈利
|
|
|
if (!in_array('13操', $awards) && !in_array('14操', $awards)) {
|
|
|
Rebate::updateProfit([
|
|
|
'member_id' => $v['member_id'],
|
|
|
- 'profit' => $profit,
|
|
|
+ 'profit' => $yl,
|
|
|
]);
|
|
|
}
|
|
|
|
|
|
- $item['profit'] = $profit;
|
|
|
|
|
|
- // $yl = $profit - $amount;
|
|
|
- $yl = bcsub($profit, $amount, 2); // 盈利
|
|
|
$memberList[$v['member_id']][] = [
|
|
|
'member_id' => $v['member_id'],
|
|
|
'keywords' => $v['keywords'],
|