增加自定义CSS配置

This commit is contained in:
wispx
2019-01-19 09:56:26 +08:00
parent 9bc36e2370
commit d9c2e23b52
3 changed files with 8 additions and 3 deletions
+3 -2
View File
@@ -86,7 +86,8 @@ INSERT INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `
(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', '是否开放接口', '0', ''),
(46, 'basics', 'textarea', 'textarea', 'statistics_code', '统计代码', NULL, '<script>\r\n// js统计代码</script>', '');
(46, 'basics', 'textarea', 'textarea', 'custom_style', '自定义CSS', NULL, '<!-- 可以直接引入第三方css样式 -->\r\n<style>\r\n /* body {} */\r\n</style>', ''),
(47, 'basics', 'textarea', 'textarea', 'statistics_code', '统计代码', NULL, '<script>\r\n// js统计代码</script>', '');
-- --------------------------------------------------------
@@ -189,7 +190,7 @@ ADD PRIMARY KEY (`id`);
-- 使用表AUTO_INCREMENT `lsky_config`
--
ALTER TABLE `lsky_config`
MODIFY `id` smallint(6) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47;
MODIFY `id` smallint(6) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=48;
--
-- 使用表AUTO_INCREMENT `lsky_images`