customer export add 82

This commit is contained in:
qianhy
2023-06-02 10:41:17 +08:00
committed by xiaoyu
parent ed4ef7ecfc
commit 62f5061288
+2 -2
View File
@@ -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, '无权限导出');
}