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);