|
@@ -65,9 +65,9 @@ class UserExtractController
|
|
|
if (!in_array($extractInfo['extract_type'], $extractType))
|
|
|
return app('json')->fail('提现方式不存在');
|
|
|
if (!preg_match('/^[0-9]+(.[0-9]{1,2})?$/', (float)$extractInfo['money'])) return app('json')->fail('提现金额输入有误');
|
|
|
- if (!$extractInfo['cardnum'] == '')
|
|
|
- if (!preg_match('/^([1-9]{1})(\d{15}|\d{16}|\d{18})$/', $extractInfo['cardnum']))
|
|
|
- return app('json')->fail('银行卡号输入有误');
|
|
|
+// if (!$extractInfo['cardnum'] == '')
|
|
|
+// if (!preg_match('/^([1-9]{1})(\d{15}|\d{16}|\d{18})$/', $extractInfo['cardnum']))
|
|
|
+// return app('json')->fail('银行卡号输入有误');
|
|
|
if ($extractInfo['extract_type'] == 'alipay') {
|
|
|
if (!$extractInfo['alipay_code']) return app('json')->fail('请输入支付宝账号');
|
|
|
} else if ($extractInfo['extract_type'] == 'bank') {
|