update content

This commit is contained in:
2025-07-03 23:05:06 +08:00
parent 90f65476b6
commit 4036e4f60a
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -188,8 +188,8 @@ def get_content():
start_course_id = max_course_id - 5
# 查询courses表中的所有课程ID
cursor.execute('SELECT id, title FROM courses where id >= ?', (49,))
# cursor.execute('SELECT id, title FROM courses where id >= ?', (start_course_id,))
# cursor.execute('SELECT id, title FROM courses where id >= ?', (1,))
cursor.execute('SELECT id, title FROM courses where id >= ?', (start_course_id,))
course_ids_data = cursor.fetchall()
course_ids = [row[0] for row in course_ids_data]
course_ids_dict = dict(course_ids_data)