修正文档

This commit is contained in:
2025-12-20 21:38:31 +08:00
parent ecbc25fb0e
commit 481207d511

View File

@@ -70,7 +70,7 @@ def check_emoji(uuid: str, connection = connect_db()) -> bool:
logger.error(f"检查UUID失败: {uuid}, 错误: {e}")
return False
def get_emoji_content(uuid: str, content_index: str = 'url', connection = connect_db()) -> tuple | None:
def get_emoji_content(uuid: str, content_index: str = 'url', connection = connect_db()) -> str | None:
"""
获取图片信息,检查图片在 approved 库中检索 approved 是否为 1为 1 则返回获取到的索引内容