|
|
@ -123,6 +123,11 @@ class Customer extends ApiCommon
|
|
|
|
$authData['dataAuth'] = (int)0;
|
|
|
|
$authData['dataAuth'] = (int)0;
|
|
|
|
return resultArray(['data' => $authData]);
|
|
|
|
return resultArray(['data' => $authData]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 判断是否有客户捞取审批
|
|
|
|
|
|
|
|
$customerCheck = db('crm_customer_check')->where(['customer_id' => $param['id']])->where(['check_status'=>0])->find();
|
|
|
|
|
|
|
|
if(!$customerCheck){
|
|
|
|
|
|
|
|
$data['flow_id']=$customerCheck['flow_id'];
|
|
|
|
|
|
|
|
}
|
|
|
|
return resultArray(['data' => $data]);
|
|
|
|
return resultArray(['data' => $data]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|