Commit 52f83a87 authored by 蔡闯's avatar 蔡闯

2021-6-23

parent daae12b7
......@@ -12,7 +12,7 @@ class Common extends BaseController
//获取省市区
public function getArea() {
$where['ParentId'] = Request::param('id',100000);
$data = Db::name('area')->where($where)->field("id,Name")->select()->toArray();
$data = Db::name('area')->where($where)->field("id,Name,LevelType")->select()->toArray();
return $this->returnJson($data,'success');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment