入库数组未存中文,json_encode存入unicode汉字 例:{“stu_name”:"\u5f20\u4e09"} content = '我' $cont = str_replace('\\','_', json_encode('%' . $content . '%')); $build->where('data', 'LIKE', "%".$cont."%");