From 35a77c0ddc9d31c0da33b562789dd5d05e9cc29e Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Mon, 29 May 2023 17:09:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/system/admin/SystemAdminServices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/app/services/system/admin/SystemAdminServices.php b/crmeb/app/services/system/admin/SystemAdminServices.php index 8f5dd46e3..b60a14096 100644 --- a/crmeb/app/services/system/admin/SystemAdminServices.php +++ b/crmeb/app/services/system/admin/SystemAdminServices.php @@ -136,7 +136,7 @@ class SystemAdminServices extends BaseServices 'user_info' => [ 'id' => $adminInfo->getData('id'), 'account' => $adminInfo->getData('account'), - 'head_pic' => strpos($adminInfo->getData('head_pic'), '/statics/system_images/') !== false ? get_file_link($adminInfo->getData('head_pic')) : $adminInfo->getData('head_pic'), + 'head_pic' => get_file_link($adminInfo->getData('head_pic')), 'level' => $adminInfo->getData('level'), 'real_name' => $adminInfo->getData('real_name'), ],