Kirin 2 years ago
parent
commit
d63fc43916
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/user/UserExtract.php

+ 1 - 1
app/models/user/UserExtract.php

@@ -108,7 +108,7 @@ class UserExtract extends BaseModel
             $res1 = self::create($insertData);
             if (!$res1) return self::setErrorInfo('提现失败');
             $res2 = User::edit(['brokerage_price' => $balance], $userInfo['uid'], 'uid');
-            $res3 = UserBill::expend('余额提现', $userInfo['uid'], 'now_money', 'extract', $data['money'], $res1['id'], $balance, $mark);
+            $res3 = UserBill::expend('余额提现', $userInfo['uid'], 'now_money', 'brokerage', $data['money'], $res1['id'], $balance, $mark);
             $res = $res2 && $res3;
             if ($res) {
                 self::commitTrans();