Commit 7e75c4fb authored by hujun's avatar hujun

部门列表修改

parent 20254087
...@@ -25,6 +25,10 @@ class District extends Basic ...@@ -25,6 +25,10 @@ class District extends Basic
* @throws \think\exception\DbException * @throws \think\exception\DbException
*/ */
public function getDistrictList () { public function getDistrictList () {
if (!$this->request->isAjax()) {
return view('index');
}
$data['status'] = 200; $data['status'] = 200;
$data['data'] = ''; $data['data'] = '';
$data['msg'] = ''; $data['msg'] = '';
...@@ -57,13 +61,6 @@ class District extends Basic ...@@ -57,13 +61,6 @@ class District extends Basic
return $this->response($data['status'], $data['msg'], $data); return $this->response($data['status'], $data['msg'], $data);
} }
/**
* 部门总监列表页面
*/
public function districtList() {
return view('index');
}
/** /**
* 添加部门,绑定总监关系 * 添加部门,绑定总监关系
* *
......
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