WIN-2308041133\Administrator hace 6 meses
padre
commit
48e49d08b2
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      app/common/model/user/AwardLake.php

+ 2 - 0
app/common/model/user/AwardLake.php

@@ -120,6 +120,8 @@ class AwardLake extends BaseModel
         $price = app()->make(AwardIntegralPriceRepository::class)->awardIntegralPrice();  //分红积分价格
         foreach ($users as $user) {
             //todo 添加用户积分  用户分的奖励除以积分价格就是积分数量
+            @file_put_contents('quanju.txt',$every."-每个用户分得的奖励\r\n",8);
+            @file_put_contents('quanju.txt',$price."-积分价格\r\n",8);
             $integral = bcmul($every, $price, 2);
             $award_integral=User::where('uid', $user['uid'])->value('award_integral');
             $after = bcadd($award_integral, $integral, 2);