From e20d57b291d17b9fd634303c3c181848b14c642f Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 13 Apr 2026 11:21:00 +0800 Subject: [PATCH] chore: remove legacy robot navigation copy --- admin/dashboard/blueprints/robot.py | 4 ++-- admin/dashboard/templates/base.html | 1 - admin/dashboard/templates/contacts_management.html | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/admin/dashboard/blueprints/robot.py b/admin/dashboard/blueprints/robot.py index f220de4..f5c21cd 100644 --- a/admin/dashboard/blueprints/robot.py +++ b/admin/dashboard/blueprints/robot.py @@ -4,12 +4,12 @@ from loguru import logger from utils.robot_cmd.robot_command import GroupBotManager, Feature, PermissionStatus from datetime import datetime, timedelta -# 创建机器人管理蓝图 +# 创建群管理兼容蓝图(旧入口保留做跳转,实际功能已并入通讯录) robot_bp = Blueprint('robot', __name__, url_prefix='/robot') LOG = logger -# 机器人管理页面 +# 旧群权限页入口兼容跳转 @robot_bp.route('/') @login_required def robot_management(): diff --git a/admin/dashboard/templates/base.html b/admin/dashboard/templates/base.html index dded43c..32e4c76 100644 --- a/admin/dashboard/templates/base.html +++ b/admin/dashboard/templates/base.html @@ -820,7 +820,6 @@ '3': '/users', '4': '/groups', '5': '/errors', - '6': '/robot', '7': '/messages', '9': '/wx_logs', '10': '/contacts', diff --git a/admin/dashboard/templates/contacts_management.html b/admin/dashboard/templates/contacts_management.html index 4c1d822..0ca0e02 100644 --- a/admin/dashboard/templates/contacts_management.html +++ b/admin/dashboard/templates/contacts_management.html @@ -8,7 +8,7 @@
Contacts Workspace

通讯录管理

-

把联系人、群组、公众号和公共好友统一放进一个更现代的联络工作台里。

+

把联系人、群组、权限配置与群诊断统一放进一个联络工作台里,减少分散操作。

@@ -54,7 +54,7 @@

联系人分类视图

-

按群组、个人、公众号和公共好友切换查看,减少跳页成本。

+

按群组、个人、公众号和公共好友切换查看;群组页已集成权限与群运营视图。

@@ -183,7 +183,7 @@
- + {% raw %}{{ currentGroup.wxid }}{% endraw %} {% raw %}{{ currentGroup.name }}{% endraw %}