|
|
@@ -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('签约未完成');
|