소스 검색

会员升级

Kirin 1 년 전
부모
커밋
9e9d7bc9a3
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      app/services/user/UserExtractServices.php

+ 3 - 0
app/services/user/UserExtractServices.php

@@ -383,6 +383,9 @@ class UserExtractServices extends BaseServices
         if (!$user) {
             throw new ValidateException('数据不存在');
         }
+        if (!$user['enterprise_professional_facilitator_id']) {
+            throw new ValidateException('签约未完成');
+        }
         $bank_info = WithdrawService::init()::contractInfo($user['enterprise_professional_facilitator_id']);
         if (!$bank_info['is_contract']) {
             throw new ValidateException('签约未完成');