WIN-2308041133\Administrator 4 ヶ月 前
コミット
9b20d0a8a1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/api/controller/user/UserExtractController.php

+ 1 - 1
app/api/controller/user/UserExtractController.php

@@ -101,7 +101,7 @@ class UserExtractController
             $data['broken_commission'] = 0;
         $data['brokerage_price'] = $user['brokerage_price'];
         $retention_money = sys_config('retention_money', 0);  //健康币最低保留金额
-        $brokerage_price = bcsub($user['brokerage_price'], $data['money'], 2);
+        $brokerage_price = bcsub($user['brokerage_price'], $extractInfo['money'], 2);
         if ($brokerage_price < $retention_money){
             return app('json')->fail('提现后健康币不能低于'. $retention_money);
         }