|
@@ -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'],
|