From 4a72c76c11d17743673b926215c8eaf16013c8b6 Mon Sep 17 00:00:00 2001 From: yuyx <237899745@qq.com> Date: Wed, 10 Dec 2025 21:03:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=E5=AE=8C=E5=96=84system=5Fconfi?= =?UTF-8?q?g=E5=88=9D=E5=A7=8B=E5=8C=96=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - INSERT 语句补全所有字段,确保与 CREATE TABLE 定义一致 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- database.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/database.py b/database.py index fef9e4a..cf08260 100755 --- a/database.py +++ b/database.py @@ -235,8 +235,9 @@ def init_database(): cursor.execute(''' INSERT INTO system_config ( id, max_concurrent_global, max_concurrent_per_account, max_screenshot_concurrent, - schedule_enabled, schedule_time, schedule_browse_type, schedule_weekdays - ) VALUES (1, 2, 1, 3, 0, '02:00', '应读', '1,2,3,4,5,6,7') + schedule_enabled, schedule_time, schedule_browse_type, schedule_weekdays, + proxy_enabled, proxy_api_url, proxy_expire_minutes, enable_screenshot + ) VALUES (1, 2, 1, 3, 0, '02:00', '应读', '1,2,3,4,5,6,7', 0, '', 3, 1) ''') conn.commit() print("✓ 已创建系统配置(默认并发2,定时任务关闭)")