WIN-2308041133\Administrator 4 months ago
parent
commit
9e250767c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/common/repositories/user/UserExtractRepository.php

+ 1 - 1
app/common/repositories/user/UserExtractRepository.php

@@ -380,7 +380,7 @@ class UserExtractRepository extends BaseRepository
                 if ($data['status']==-1){
                 if ($data['status']==-1){
                     //            bill表创建提现退还记录
                     //            bill表创建提现退还记录
                     $userBillRepository = app()->make(UserBillRepository::class);
                     $userBillRepository = app()->make(UserBillRepository::class);
-                    $userBillRepository->incBill($data['uid'], 'brokerage', 'extract', [
+                    $userBillRepository->incBill($user->uid, 'brokerage', 'extract', [
                         'link_id' => $id,
                         'link_id' => $id,
                         'status' => 0,
                         'status' => 0,
                         'title' => '提现退还',
                         'title' => '提现退还',