调整日志和问答内容

This commit is contained in:
liuwei
2025-04-03 13:37:15 +08:00
parent c98e0433e0
commit c533a193b0
2 changed files with 3 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ def api_wx_logs():
else:
log_file = os.path.join(project_root, 'wx_info.log')
logger.info(f"尝试读取日志文件: {log_file}")
# logger.info(f"尝试读取日志文件: {log_file}")
# 读取日志文件
log_content = []

View File

@@ -77,7 +77,8 @@ def game_question_json(question):
3. 每个问题应独立,且问题之间无连贯性或延续性。
4. 避免重复提问或产生相似的问题,确保问题新颖。
5. 对于每个问题提供难度评分1-10分。在问题答对后用户可以根据难度给出相应的分数。
6. 答案控制长度在25字以内。
输出格式要求如下仅返回JSON格式确保不添加多余的符号
{
"category":"人文地理"