diff --git a/modules/api_routes.py b/modules/api_routes.py index d5bd17f..67d66f3 100644 --- a/modules/api_routes.py +++ b/modules/api_routes.py @@ -48,6 +48,12 @@ def setup_routes(app, query_log_collector): @app.route('/db-compare') def db_compare(): return render_template('db_compare.html') + + # 新增:更语义化的路由别名 + @app.route('/cassandra-compare') + def cassandra_compare(): + """Cassandra数据比对工具 - 语义化路由""" + return render_template('db_compare.html') @app.route('/redis-compare') def redis_compare(): diff --git a/templates/db_compare.html b/templates/db_compare.html index eb8bb69..58d26aa 100644 --- a/templates/db_compare.html +++ b/templates/db_compare.html @@ -3,7 +3,7 @@ - 数据库查询比对工具 - 支持分表查询 + Cassandra数据比对工具 - DataTools Pro @@ -262,7 +272,7 @@
+ + +

- 数据库查询比对工具 + Cassandra数据比对工具 支持单表查询和分表查询两种模式

diff --git a/templates/index.html b/templates/index.html index 87245eb..3bc2ce0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,7 @@ - 大数据工具集合 + DataTools Pro - 专业数据处理工具平台