提现加提现方式判断
This commit is contained in:
14
.env
14
.env
@@ -11,13 +11,6 @@ trace = false
|
||||
; prefix = fa_
|
||||
|
||||
|
||||
#hostname = 1.13.181.248
|
||||
#database = midi
|
||||
#username = midi
|
||||
#password = 5B2zwShhTi5L7t2w
|
||||
#hostport = 3306
|
||||
#prefix = fa_
|
||||
|
||||
hostname = 1.13.181.248
|
||||
database = midi
|
||||
username = midi
|
||||
@@ -25,6 +18,13 @@ password = 5B2zwShhTi5L7t2w
|
||||
hostport = 3306
|
||||
prefix = fa_
|
||||
|
||||
#hostname = 62.234.12.147
|
||||
#database = midi
|
||||
#username = midi
|
||||
#password = EC6cak6fzXdXnERz
|
||||
#hostport = 3306
|
||||
#prefix = fa_
|
||||
|
||||
[mqtt]
|
||||
mqtt_server = 1.13.181.248
|
||||
mqtt_port = 1883
|
||||
|
||||
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user