|
|
@@ -2688,6 +2688,7 @@ class UserRepository extends BaseRepository
|
|
|
@file_put_contents('quanju.txt', $all_price . "-积分乘价格\r\n", 8);
|
|
|
@file_put_contents('quanju.txt', $info['award_range'] . "-份额\r\n", 8);
|
|
|
if ($all_price >= $info['award_range']) {
|
|
|
+ @file_put_contents('quanju.txt', $info['award_range'] . "-份额\r\n", 8);
|
|
|
$this->extractIntegral($uid);
|
|
|
}
|
|
|
}
|
|
|
@@ -2770,7 +2771,7 @@ class UserRepository extends BaseRepository
|
|
|
// 'balance' => $freeze_brokerage
|
|
|
// ]);
|
|
|
User::where('uid', $uid)->update(['freeze_brokerage' => 0, 'award_integral' => $after_integral]);
|
|
|
- app()->make(UserRepository::class)->extractIntegral($uid); //冻结奖金转为分红积分后再判断
|
|
|
+ app()->make(UserRepository::class)->checkAward($uid); //冻结奖金转为分红积分后再判断
|
|
|
}
|
|
|
|
|
|
/**
|