فهرست منبع

更新同步路由

evoxwht 2 سال پیش
والد
کامیت
084526104f

+ 1 - 1
crmeb/app/adminapi/controller/v1/setting/SystemMenus.php

@@ -142,7 +142,7 @@ class SystemMenus extends AuthController
             if ($attPath) {
                 $pathData = [];
                 foreach ($attPath as $vv) {
-                    if (strstr($vv, '<') === false || strstr($vv, '?>') === false) {
+                    if (strstr($vv, '<') === false) {
                         $pathData[] = $vv;
                     }
                 }

+ 1 - 1
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' => $adminInfo->getData('head_pic'),
+                'head_pic' => get_file_link($adminInfo->getData('head_pic')),
                 'level' => $adminInfo->getData('level'),
                 'real_name' => $adminInfo->getData('real_name'),
             ],