Commit 2a82f91d authored by hujun's avatar hujun

删除判断

parent 8e951ce3
......@@ -136,13 +136,8 @@ class District extends Basic
$agents = new ADistrict();
$where = [];
$field = 'id,district_name';
$where['status'] = 0;
if ($this->userId != 1) {
$where['site_id'] = $this->siteId;
}
$data['data'] = $agents->getList($pageNo, $pageSize, 'id DESC', $field, $where);
return $this->response($data['status'], $data['msg'], $data['data']);
......
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