Skip to content

Commit

Permalink
🐛 修复 BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
wisp-x committed Apr 21, 2021
1 parent 089f4fd commit de90d79
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions application/http/middleware/WebAuthenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class WebAuthenticate
'auth/register',
'auth/forgot',
'index/api',
'index/gallery'
];

public function handle(Request $request, \Closure $next)
Expand Down
2 changes: 1 addition & 1 deletion application/sql/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,6 @@ INSERT INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `
(NULL, 'audit', 'text', 'text', 'audit_key', 'Key', NULL, '', ''),
(NULL, 'audit', 'select', 'text', 'audit_index', '内容评级', '1=所有人,2=少年,3=成人', '3', '{\"1\": \"所有人\", \"2\": \"少年\", \"3\": \"成人\"}'),

(NULL, '', 'text', 'text', 'system_version', '系统版本', NULL, '1.6.1', '');
(NULL, '', 'text', 'text', 'system_version', '系统版本', NULL, '1.6.3', '');

INSERT INTO `lsky_group` (`id`, `strategy`, `name`, `default`, `update_time`, `create_time`) VALUES (NULL, 'local', '默认组', '1', '0', '0');
4 changes: 2 additions & 2 deletions application/sql/update.sql
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `ti
-- v1.6.1
UPDATE `lsky_config` SET `value` = '1.6.1' WHERE `lsky_config`.`name` = 'system_version';

-- v1.6.2
UPDATE `lsky_config` SET `value` = '1.6.2' WHERE `lsky_config`.`name` = 'system_version';
-- v1.6.3
UPDATE `lsky_config` SET `value` = '1.6.3' WHERE `lsky_config`.`name` = 'system_version';
INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES
(NULL, 'other', 'bool', 'checkbox', 'open_gallery', '开启画廊', '开启画廊功能,游客上传的图片将会出现在画廊中', '', '');
Binary file removed public/static/app/font/test.ttf
Binary file not shown.

0 comments on commit de90d79

Please sign in to comment.