提现加提现方式判断

This commit is contained in:
2025-09-30 14:50:58 +08:00
parent 2a508ce4d4
commit 89f6d32bd2
2 changed files with 10 additions and 7 deletions

View File

@@ -43,6 +43,9 @@ class UserWithdrawal extends Model
if(!$age){
return ['code' => 0, 'msg' => '该身份证号未满18岁', 'data' => null];
}
if(empty($type)){
return ['code' => 0, 'msg' => '请选择提现方式', 'data' => null];
}
//判断用户是否签约云账户
$yun_pay = new YunPay();
$sign_status = $yun_pay->getApiUserSignStatus($user_info['real_name'],$user_info['card_id']);