|
@@ -69,9 +69,17 @@ class Takecash extends Api
|
|
|
$this->error('请选择提现账户~');
|
|
|
}
|
|
|
|
|
|
- /*if ($this->auth->idcard_status != 1) {
|
|
|
+ if ($this->auth->idcard_status != 1) {
|
|
|
$this->error('请先完成实名认证~');
|
|
|
- }*/
|
|
|
+ }
|
|
|
+
|
|
|
+ if ($this->auth->gender == 1) {
|
|
|
+ $user_wallet = Db::name('user_wallet')->where('user_id',$this->auth->id)->find();
|
|
|
+ $is_vip = $this->is_vip($user_wallet['vip_endtime'],$user_wallet['vip_level']);
|
|
|
+ if($is_vip != 2){
|
|
|
+ $this->error('SVIP才能提现');
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
if ($id > 0) {
|
|
|
$withdrawal_config = Db::name('withdrawal_config')->find($id);
|