customer export add 82
This commit is contained in:
@@ -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, '无权限导出');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user