修正文档
This commit is contained in:
@@ -70,7 +70,7 @@ def check_emoji(uuid: str, connection = connect_db()) -> bool:
|
|||||||
logger.error(f"检查UUID失败: {uuid}, 错误: {e}")
|
logger.error(f"检查UUID失败: {uuid}, 错误: {e}")
|
||||||
return False
|
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 则返回获取到的索引内容
|
获取图片信息,检查图片在 approved 库中检索 approved 是否为 1,为 1 则返回获取到的索引内容
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user