添加邮件解码API和自动创建邮箱功能:1. 添加/api/email接口用于获取已解码邮件内容 2. 添加/api/add_mailbox接口用于自动创建邮箱
This commit is contained in:
@@ -18,6 +18,8 @@ def index():
|
||||
# 为避免可能的文件读取问题,改为从routes.py模块中导入所有路由定义
|
||||
try:
|
||||
from .routes import *
|
||||
# 导入解码邮件路由模块
|
||||
from .decoded_email_routes import *
|
||||
except Exception as e:
|
||||
logging.error(f"导入API路由时出错: {str(e)}")
|
||||
raise
|
||||
Reference in New Issue
Block a user