WIN-2308041133\Administrator 4 месяцев назад
Родитель
Сommit
c8ffcb5629

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

@@ -2791,6 +2791,7 @@ class UserRepository extends BaseRepository
             $userBillRepository = app()->make(UserBillRepository::class);
             $price = $this->awardIntegralPrice();
             @file_put_contents('quanju.txt', json_encode($price) . "-积分金额\r\n", 8);
+            @file_put_contents('quanju.txt',$num. "-手动提现积分\r\n", 8);
             $all_price = bcmul($num, $price['price'], 2);
 //            if ($all_price > $info['award_range']) $all_price = $info['award_range'];
 

+ 1 - 0
app/controller/api/user/User.php

@@ -259,6 +259,7 @@ class User extends BaseController
         if ($where['num'] > $user['award_integral']){
             throw new \Exception('提现积分不能大于可拥有积分');
         }
+        @file_put_contents('quanju.txt',$where['num']. "-手动提现积分数量\r\n", 8);
         app()->make(UserRepository::class)->extractIntegral($user['uid'],$where['num']);
         return app('json')->success('已提现至佣金');
     }