From a966b0d85ea67b5bc8cf5ed39f2732b5be46a74c Mon Sep 17 00:00:00 2001 From: wispx <1591788658@qq.com> Date: Sat, 19 Jan 2019 11:23:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=90=8E=E5=8F=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/admin/Images.php | 2 +- update.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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', ''),