diff --git a/reply_server.py b/reply_server.py index 5ebc527..f4cb163 100644 --- a/reply_server.py +++ b/reply_server.py @@ -444,51 +444,18 @@ async def admin_page(): return HTMLResponse(f.read()) -# 用户管理页面路由 -@app.get('/user_management.html', response_class=HTMLResponse) -async def user_management_page(): - page_path = os.path.join(static_dir, 'user_management.html') - if os.path.exists(page_path): - with open(page_path, 'r', encoding='utf-8') as f: - return HTMLResponse(f.read()) - else: - return HTMLResponse('

User management page not found

') - - -# 日志管理页面路由 -@app.get('/log_management.html', response_class=HTMLResponse) -async def log_management_page(): - page_path = os.path.join(static_dir, 'log_management.html') - if os.path.exists(page_path): - with open(page_path, 'r', encoding='utf-8') as f: - return HTMLResponse(f.read()) - else: - return HTMLResponse('

Log management page not found

') - - -# 数据管理页面路由 -@app.get('/data_management.html', response_class=HTMLResponse) -async def data_management_page(): - page_path = os.path.join(static_dir, 'data_management.html') - if os.path.exists(page_path): - with open(page_path, 'r', encoding='utf-8') as f: - return HTMLResponse(f.read()) - else: - return HTMLResponse('

Data management page not found

') -# 商品搜索页面路由 -@app.get('/item_search.html', response_class=HTMLResponse) -async def item_search_page(): - page_path = os.path.join(static_dir, 'item_search.html') - if os.path.exists(page_path): - with open(page_path, 'r', encoding='utf-8') as f: - return HTMLResponse(f.read()) - else: - return HTMLResponse('

Item search page not found

') + + + + + + + # 登录接口 diff --git a/static/data_management.html b/static/data_management.html deleted file mode 100644 index a931dcf..0000000 --- a/static/data_management.html +++ /dev/null @@ -1,556 +0,0 @@ - - - - - - 数据管理 - 闲鱼自动回复系统 - - - - - - - - - -
-
-

- 数据管理 -

-

查看和管理数据库中的所有表数据

-
-
- -
- -
-
-
- 数据表选择 -
-
-
-
-
- - -
-
- -
-
-
-
- 条记录 -
-
-
-
- -
- -
-
-
-
-
- - - - - -
-
-
- 数据内容 -
-
- -
-
-
- -
- -

请选择要查看的数据表

-
- - -
-
-
- - - - - - - - - - - diff --git a/static/item_search.html b/static/item_search.html deleted file mode 100644 index d137867..0000000 --- a/static/item_search.html +++ /dev/null @@ -1,954 +0,0 @@ - - - - - - 商品搜索 - 闲鱼管理系统 - - - - - - - - -
- -
-
- 验证登录状态... -
-

正在验证登录状态...

-
- - - - - - -
- - - - - diff --git a/static/log_management.html b/static/log_management.html deleted file mode 100644 index 7060b15..0000000 --- a/static/log_management.html +++ /dev/null @@ -1,457 +0,0 @@ - - - - - - 日志管理 - 闲鱼自动回复系统 - - - - - - - - - -
-
-

- 日志管理 -

-

查看和监控系统运行日志

-
-
- -
- -
-
-
- 日志控制 -
-
-
-
-
- - -
-
- -
- - 全部 - - - INFO - - - WARNING - - - ERROR - - - DEBUG - -
-
-
- -
- - -
-
-
- -
- -
-
-
-
-
- - -
-
-
- 日志信息 -
- 最后更新: - -
-
-
-
- 日志文件: - - -
-
- 显示行数: - - -
-
- 当前过滤: - 全部 -
-
-
-
- - -
-
-
- 日志内容 -
-
- - -
-
-
-
-
- 加载中... -
-

正在加载日志...

-
- - -
-
-
- - - - - diff --git a/static/user_management.html b/static/user_management.html deleted file mode 100644 index 4be17a8..0000000 --- a/static/user_management.html +++ /dev/null @@ -1,400 +0,0 @@ - - - - - - 用户管理 - 闲鱼自动回复系统 - - - - - - - - - -
-
-

- 用户管理 -

-

管理系统中的所有用户账号

-
-
- -
- -
-
-
-
-

-

-

总用户数

-
-
-
-
-
-
-

-

-

总Cookie数

-
-
-
-
-
-
-

-

-

总卡券数

-
-
-
-
-
-
-

运行中

-

系统状态

-
-
-
-
- - -
-
-
- 用户列表 -
- -
-
-
-
- 加载中... -
-

正在加载用户信息...

-
- - -
-
-
- - - - - - - -