diff --git a/application/service/BaseConfigHandleService.php b/application/service/BaseConfigHandleService.php index 9a2dd6efbc4e2530fbda032377b0b0655026e3ee..8bfe03995c9173b8dca30885bdf705b4f958312a 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 c3b097d7e5b6fc93b23a7f1ef81718f502265c0f..2e6b65ccc072cdbb2122b6a86db36da875e059b5 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);