提现列表修改

This commit is contained in:
2025-09-30 15:33:14 +08:00
parent 989985afe6
commit 2a9639e45c
2 changed files with 4 additions and 4 deletions

View File

@@ -46,6 +46,10 @@ class UserWithdrawal extends Model
if(empty($type)){
return ['code' => 0, 'msg' => '请选择提现方式', 'data' => null];
}
//提现不能有小数
if($number != floor($number)){
return ['code' => 0, 'msg' => '提现不能有小数!', 'data' => null];
}
//判断用户是否签约云账户
$yun_pay = new YunPay();
$sign_status = $yun_pay->getApiUserSignStatus($user_info['real_name'],$user_info['card_id']);