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 @@
-