WIN-2308041133\Administrator 5 månader sedan
förälder
incheckning
e7ae2cfe42
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      app/common/repositories/user/UserRepository.php

+ 3 - 1
app/common/repositories/user/UserRepository.php

@@ -2773,7 +2773,7 @@ class UserRepository extends BaseRepository
             $price = $this->awardIntegralPrice();
             @file_put_contents('quanju.txt', json_encode($price) . "-积分金额\r\n", 8);
             $all_price = bcmul($num, $price['price'], 2);
-            if ($all_price > $info['award_range']) $all_price = $info['award_range'];
+//            if ($all_price > $info['award_range']) $all_price = $info['award_range'];
 
             if ($all_price > 0) {
 //                $commission2 = $all_price;
@@ -2788,7 +2788,9 @@ class UserRepository extends BaseRepository
 //                    @file_put_contents('quanju2.txt', $all_price . "-减掉手续费的金额\r\n", 8);
 //                }
 //                可提现奖金和份额
+                @file_put_contents('quanju2.txt', $all_price . "-金额\r\n", 8);
                 $award = bcsub($all_price, $info['award_range'], 2);
+                @file_put_contents('quanju2.txt', $all_price . "-金额\r\n", 8);
                 $this->addFrozenBrokerage($uid, $award);  //冻结奖金
 
                 //用户获得$all_price的佣金