diff --git a/application/index/controller/admin/Images.php b/application/index/controller/admin/Images.php index 32ef6500..5f0113da 100644 --- a/application/index/controller/admin/Images.php +++ b/application/index/controller/admin/Images.php @@ -139,7 +139,7 @@ class Images extends Base } catch (Exception $e) { return $this->error('获取失败'); } catch (RequestException $e) { - return $this->error('淘宝接口异常'); + return $this->error('淘宝接口发生异常,状态码:' . $response->getStatusCode()); } return $this->success('获取成功', null, $data); } diff --git a/update.sql b/update.sql index 93dd6e38..b11a4b5d 100644 --- a/update.sql +++ b/update.sql @@ -47,8 +47,8 @@ UPDATE `lsky_config` SET `value` = '1.4.2' WHERE `lsky_config`.`name` = 'system_ UPDATE `lsky_images` SET `strategy` = 'uss' WHERE `lsky_images`.`strategy` = 'upyun'; UPDATE `lsky_images` SET `strategy` = 'kodo' WHERE `lsky_images`.`strategy` = 'qiniu'; --- v1.4.3 -UPDATE `lsky_config` SET `value` = '1.4.3' WHERE `lsky_config`.`name` = 'system_version'; +-- v1.5.0 +UPDATE `lsky_config` SET `value` = '1.5.0' WHERE `lsky_config`.`name` = 'system_version'; UPDATE `lsky_config` SET `tip` = '接口申请地址:https://www.moderatecontent.com' WHERE `lsky_config`.`name` = 'open_audit'; INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES (NULL, 'basics', 'textarea', 'textarea', 'custom_style', '自定义CSS', NULL, '\r\n', ''),