diff --git a/README.md b/README.md index 852607f5..927c29a3 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ - 支持全局配置用户初始剩余储存空间、支持单个设置用户剩余储存空间。 - 支持一键复制图片外链、二维码扫描链接。 - 支持设置上传文件、文件夹路径命名规则。 +- 支持图片鉴黄功能。 +- 对外开放的上传接口。 安装需求 --- diff --git a/install.sql b/install.sql index cbbb4755..d11aa127 100644 --- a/install.sql +++ b/install.sql @@ -79,13 +79,13 @@ INSERT INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, ` (38, 'upyun', 'text', 'text', 'upyun_operator_name', 'OperatorName', '操作员账号', '', ''), (39, 'upyun', 'text', 'password', 'upyun_operator_pwd', 'OperatorPwd', '操作员密码', '', ''), (40, 'upyun', 'text', 'text', 'upyun_service_name', 'ServiceName', '云储存服务名称', '', ''), -(41, '', 'text', 'text', 'system_version', '系统版本', NULL, '1.3.0', ''), +(41, '', 'text', 'text', 'system_version', '系统版本', NULL, '1.3.2', ''), (42, 'audit', 'bool', 'checkbox', 'open_audit', '开启图片鉴黄', '鉴黄接口申请地址:https://www.moderatecontent.com', '0', ''), (43, 'audit', 'text', 'text', 'audit_key', 'Key', NULL, '', ''), (44, 'audit', 'select', 'text', 'audit_index', '内容评级', '1=所有人,2=少年,3=成人', '3', '{\"1\": \"所有人\", \"2\": \"少年\", \"3\": \"成人\"}'), -(45, 'other', 'bool', 'checkbox', 'open_api', '开启API', '是否开放接口', '1', ''); +(45, 'other', 'bool', 'checkbox', 'open_api', '开启API', '是否开放接口', '0', ''); -- -------------------------------------------------------- @@ -177,4 +177,4 @@ ALTER TABLE `lsky_images` -- 使用表AUTO_INCREMENT `lsky_users` -- ALTER TABLE `lsky_users` - MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1; diff --git a/public/static/app/images/logo.png b/public/static/app/images/logo.png index 49ec568d..7aa577d5 100644 Binary files a/public/static/app/images/logo.png and b/public/static/app/images/logo.png differ diff --git a/update.sql b/update.sql index 0796ba6c..2fba1ddf 100644 --- a/update.sql +++ b/update.sql @@ -5,9 +5,10 @@ -- v1.2.0 UPDATE `lsky_config` SET `value` = '1.2.1' WHERE `lsky_config`.`name` = 'system_version'; --- v1.3.0 +-- v1.3.2 +UPDATE `lsky_config` SET `value` = '1.3.2' WHERE `lsky_config`.`name` = 'system_version'; INSERT INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES (NULL, 'audit', 'bool', 'checkbox', 'open_audit', '开启图片鉴黄', '鉴黄接口申请地址:https://www.moderatecontent.com', '0', ''), (NULL, 'audit', 'text', 'text', 'audit_key', 'Key', NULL, '', ''), (NULL, 'audit', 'select', 'text', 'audit_index', '内容评级', '1=所有人,2=少年,3=成人', '3', '{\"1\": \"所有人\", \"2\": \"少年\", \"3\": \"成人\"}'), -(NULL, 'other', 'bool', 'checkbox', 'open_api', '开启API', '是否开放接口', '1', ''); +(NULL, 'other', 'bool', 'checkbox', 'open_api', '开启API', '是否开放接口', '0', '');