diff --git a/application/function.php b/application/function.php index 193d26e..c075a77 100755 --- a/application/function.php +++ b/application/function.php @@ -792,13 +792,12 @@ function creat_thumbnail_by_list($imgUrl) Thumb::out($abPathName, $new_imgName, 258, 258); // 输出缩略图 - // return $new_imgName; - return $imgUrl; + return $new_imgName; + // return $imgUrl; } } } - /** * 获取当前页面完整URL地址 * https://www.php.cn/php-weizijiaocheng-28181.html diff --git a/application/list.php b/application/list.php index e49d82d..8755709 100755 --- a/application/list.php +++ b/application/list.php @@ -12,7 +12,6 @@ if (!$config['showSwitch'] && !is_who_login('admin')) { // $fileArr = getFile(APP_ROOT . config_path($path)); // 获取当日上传列表 $fileType = isset($_GET['search']) ? '*.' . preg_replace("/[\W]/", "", $_GET['search']) : '*.*'; // 按照图片格式 $fileArr = get_file_by_glob(APP_ROOT . config_path($path) . $fileType, 'list'); // 获取当日上传列表 - echo '