}
                    $keywordArr = explode('|', $v3['keywords']);
                    foreach ($keywordArr as $v4) {
                        if ($v['complaint_content'] != '' && mb_strpos($v['complaint_content'], $v4, 0, 'utf8') !== false) {
                            $complaints_problem_type = $v1['complaints_problem_type'];
                            $find_type = 1;
                            break;
                        }
                    }
                    if ($find_type == 1) {
                        break;
                    }
                }
            }
            $update_complaint_problem_type = $curDate;
            $ret = Complaint::updateComplaintProblemType($v['id'], array("complaints_problem_type" => $complaints_problem_type, "update_complaint_problem_type" => $update_complaint_problem_type));
            if ($ret > 0) {
                $successNum++;
            }
        }
        $complaints = Complaint::complaintsSearch(array('start_date' => $start_date, "update_complaint_problem_type[!]" => $curDate), 0, 100);
        if ($successNum > 900) {
            $complaints = false;
        }
    }
    echo "更新成功" . $successNum . "个";
    exit;
}
$http_query = '';
foreach ($arr as $key => $value) {
    $http_query .= $value . '=' . ${$value} . '&';