->select('adm.id','admin_acc as check_code','admin_name as install_name','phone as install_phone','enable as install_is_type','adm.id as admin_id','admin_groupnew','company_id')
->select('adm.id','admin_acc as check_code','admin_name as install_name','phone as install_phone','enable as install_is_type','adm.id as admin_id','admin_groupnew','company_id')
$install=InstallPerson::whereRaw("(admin_id='".$input['ser_id']."' or company_id='".$input['ser_id']."') and delet_y=1 and install_state=1 and install_is_type=1 and is_shman=2 and bind_id is not null")->select('id','check_code','install_name','install_phone','bind_id')->first();
$install=InstallPerson::whereRaw("(admin_id='".$input['ser_id']."' or company_id='".$input['ser_id']."') and delet_y=1 and install_state=1 and install_is_type=1 and is_shman=2 and bind_id is not null")->select('id','check_code','install_name','install_phone','bind_id')->first();