Browse Source

提现关闭身份验证

kevin_zhangl 3 năm trước cách đây
mục cha
commit
96363b30b9
1 tập tin đã thay đổi với 24 bổ sung23 xóa
  1. 24 23
      common/models/forms/WithdrawForm.php

+ 24 - 23
common/models/forms/WithdrawForm.php

@@ -377,29 +377,30 @@ class WithdrawForm extends Model {
             $this->addError('add', '不存在该用户');
             return -1;
         }
-        if( !$user['ID_CARD'] ) {
-            $this->addError('add', '完善身份信息后才可以提现');
-            return -1;
-        }
-
-        $response = LingYunGongApi::hasIdCardInfo($user['ID_CARD']);
-        if( !$response ) {
-            $this->addError('add', '接口网络错误');
-            return -1;
-        }
-
-        if( !isset($response['has']) ) {
-            $this->addError('add', '接口格式错误');
-            return -1;
-        }
-
-
-        if( $response['has'] === true ) {
-            return 0;
-        }else {
-            $this->addError('add', $response['err_msg']['msg']);
-            return -2;
-        }
+//        if( !$user['ID_CARD'] ) {
+//            $this->addError('add', '完善身份信息后才可以提现');
+//            return -1;
+//        }
+//
+//        $response = LingYunGongApi::hasIdCardInfo($user['ID_CARD']);
+//        if( !$response ) {
+//            $this->addError('add', '接口网络错误');
+//            return -1;
+//        }
+//
+//        if( !isset($response['has']) ) {
+//            $this->addError('add', '接口格式错误');
+//            return -1;
+//        }
+//
+//
+//        if( $response['has'] === true ) {
+//            return 0;
+//        }else {
+//            $this->addError('add', $response['err_msg']['msg']);
+//            return -2;
+//        }
+        return 0;
     }
 
     /**