$where = "('1=1')";
$where .= 'and FIND_IN_SET(' . intval($request->get('city')) . ',city)';
$uids = CompanyArea::whereRaw($where)->get();
return $uids;
处理特殊情况用,一般情况下性能较差,不建议使用
$where = "('1=1')";
$where .= 'and FIND_IN_SET(' . intval($request->get('city')) . ',city)';
$uids = CompanyArea::whereRaw($where)->get();
return $uids;
处理特殊情况用,一般情况下性能较差,不建议使用