diff --git a/admin/controllers/receiver/Customer.php b/admin/controllers/receiver/Customer.php index 6de7ec00..4cf13289 100644 --- a/admin/controllers/receiver/Customer.php +++ b/admin/controllers/receiver/Customer.php @@ -115,7 +115,7 @@ class Customer extends HD_Controller $this->data['params'] = $params; $this->data['status_arr'] = $status_arr; $this->data['qdjl_lists'] = $qdjl_lists; - $this->data['export_button'] = SUPER_ADMIN == $this->role || in_array($this->uid, array(1, 62)) ? 1 : 0; + $this->data['export_button'] = SUPER_ADMIN == $this->role || in_array($this->uid, array(1, 62, 82)) ? 1 : 0; $this->data['_title'] = '客户列表'; return $this->show_view('receiver/customer/lists', true); } @@ -922,7 +922,7 @@ class Customer extends HD_Controller public function export() { - if (!(SUPER_ADMIN == $this->role || in_array($this->uid, array(1, 62)))) { + if (!(SUPER_ADMIN == $this->role || in_array($this->uid, array(1, 62, 82)))) { return $this->show_json(SYS_CODE_FAIL, '无权限导出'); }