From 30352c81470eb7286760e23f57f2292b062e0ee6 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Mon, 29 May 2023 14:38:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= 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 b60a14096..8f5dd46e3 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' => get_file_link($adminInfo->getData('head_pic')), + 'head_pic' => strpos($adminInfo->getData('head_pic'), '/statics/system_images/') !== false ? get_file_link($adminInfo->getData('head_pic')) : $adminInfo->getData('head_pic'), 'level' => $adminInfo->getData('level'), 'real_name' => $adminInfo->getData('real_name'), ],