From bc6f95691d109aaa7203ef47d840624cab2cdee3 Mon Sep 17 00:00:00 2001 From: Devil Date: Mon, 23 Nov 2020 16:04:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85=E9=85=8D=E7=BD=AE=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E6=9C=AA=E6=AD=A3=E5=B8=B8=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/service/BaseConfigHandleService.php | 6 ++---- extend/base/Images.php | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/application/service/BaseConfigHandleService.php b/application/service/BaseConfigHandleService.php index 9a2dd6efb..8bfe03995 100644 --- a/application/service/BaseConfigHandleService.php +++ b/application/service/BaseConfigHandleService.php @@ -40,10 +40,8 @@ class BaseConfigHandleService // cache配置 $ret = self::CacheHandle($params); - if($ret['code'] != 0) - { - return $ret; - } + + return $ret; } /** diff --git a/extend/base/Images.php b/extend/base/Images.php index c3b097d7e..2e6b65ccc 100755 --- a/extend/base/Images.php +++ b/extend/base/Images.php @@ -322,7 +322,6 @@ class Images /* 保留透明背景 */ switch($type) { - case 'gif': case 'png': /* 保存完整alpha通道信息 */ imagesavealpha($dst_im, true); @@ -345,7 +344,6 @@ class Images /* 保留透明背景 */ switch($type) { - case 'gif': case 'png': /* 保存完整alpha通道信息 */ imagesavealpha($cpd_im, true); -- GitLab