|
|
@@ -136,6 +136,7 @@ class AwardLake extends BaseModel
|
|
|
@file_put_contents('quanju.txt',json_encode($price)."-分红积分价格\r\n",8);
|
|
|
@file_put_contents('quanju.txt',$every."-每个用户分得的金额\r\n",8);
|
|
|
foreach ($users as $user) {
|
|
|
+ @file_put_contents('quanju.txt',$user['uid']."-参与分红的uid\r\n",8);
|
|
|
//todo 添加用户积分 用户分的奖励除以积分价格就是积分数量
|
|
|
$integral = bcdiv($every, $price['price'], 2);
|
|
|
$award_integral=User::where('uid', $user['uid'])->value('award_integral');
|