This commit is contained in:
Hankin 2026-04-23 17:36:02 +08:00
parent 2ff8c8923b
commit c3aec96741

View File

@ -572,6 +572,7 @@ class EarningController extends Controller
$poundage = Redis::get('withdrawal_poundage') ?? 2; //提现手续费百分比
$poundage = $amount * ($poundage / 100) >= 0.01 ? $amount * ($poundage / 100) : 0.01;//收取手续费费用 不足1分 按一分处理
$poundage = floor($poundage * 100) / 100;
Log::info("amount:" . $amount . " & poundage:" . $poundage);
$actual_received = $amount - $poundage;//实际到账金额
//处理冻结金额
DB::beginTransaction();