提交 668d0f31 authored 作者: 邓奇's avatar 邓奇

123

上级 2ebc595e
......@@ -189,7 +189,7 @@ class IndexController extends Controller
$cates = Cate::where('id',$id)->first();
$records = $content->where('type',$id)->orderBy('add_time','desc')->first();
$node = New Node;
$arr = $node->orderBy('is_hot','desc')->select('address','area','phone','title','pic')->get();
$arr = $node->where('area','广东')->orderBy('is_hot','desc')->select('address','area','phone','title','pic')->get();
// print_r($records);exit;
return view('index.contact_us',['records'=>$records,'cates'=>$cates,'showType'=>$this->showType,'showType_b'=>$this->showType_b,'arr'=>$arr]);
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论