From 6bd8b30513553b05305174e903339a9e058f7bc8 Mon Sep 17 00:00:00 2001 From: CakeCN Date: Thu, 11 Sep 2025 21:44:40 +0800 Subject: [PATCH] fix nextchapter function empty --- Html/apps/function_tools/chapter.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Html/apps/function_tools/chapter.py b/Html/apps/function_tools/chapter.py index e69de29..e28fa95 100644 --- a/Html/apps/function_tools/chapter.py +++ b/Html/apps/function_tools/chapter.py @@ -0,0 +1,7 @@ +from flask import current_app + +def next_chapter(user_uuid): + ex = current_app.extensions + user_uuid2chatmanager = ex["user_uuid2chatmanager"] + user_uuid2chatmanager[user_uuid].next_chapter() + return "成功进入下一章" \ No newline at end of file