Kirin 1 år sedan
förälder
incheckning
4d21e463bd
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/services/user/UserExtractServices.php

+ 1 - 1
app/services/user/UserExtractServices.php

@@ -455,7 +455,7 @@ class UserExtractServices extends BaseServices
         if ($data['money'] <= 0) {
             throw new ValidateException('提现佣金大于0');
         }
-        $extract_fee = bcmul((string)$data['money'], bcdiv(sys_config('withdraw_fee'), '100', 2), 2);
+        $extract_fee = bcmul((string)$data['money'], bcdiv(sys_config('withdraw_fee'), '100', 4), 2);
         $insertData = [
             'uid' => $user['uid'],
             'extract_type' => $data['extract_type'],