From 604145c83ff017477c39b2ea3226661c66baf9af Mon Sep 17 00:00:00 2001 From: lccsw <1127794702@qq.com> Date: Thu, 16 Dec 2021 14:25:35 +0800 Subject: [PATCH] edit-admin-customer-list --- admin/controllers/receiver/Customer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/controllers/receiver/Customer.php b/admin/controllers/receiver/Customer.php index 14836cdf..61b327f6 100644 --- a/admin/controllers/receiver/Customer.php +++ b/admin/controllers/receiver/Customer.php @@ -186,7 +186,7 @@ class Customer extends HD_Controller $biz_id_arr = array_unique(array_column($rows, 'biz_id')); $biz_id_arr && $biz_rows = $this->biz_model->get_map_by_ids($biz_id_arr, 'id,biz_name'); foreach ($rows as $key => $val) { - if (SUPER_ADMIN == $this->role) { + if (SUPER_ADMIN == $this->role || $this->role==35) { $mobile_sub = $val['mobile']; } else { $mobile_sub = $val['mobile'] ? substr_replace($val['mobile'], '*****', 0, 5) : ''; @@ -255,7 +255,7 @@ class Customer extends HD_Controller $rows_log = $this->customer_oplogs_model->select(array('customer_id' => $id), 'c_time desc', 0, 0); //用户信息 - if (SUPER_ADMIN == $this->role) { + if (SUPER_ADMIN == $this->role||35==$this->role) { $mobile_sub = $row['mobile']; } else { $mobile_sub = $row['mobile'] ? substr_replace($row['mobile'], '*****', 0, 5) : '';