feat:增加统一前缀
This commit is contained in:
		| @@ -69,7 +69,7 @@ vn = create_vana() | ||||
| app = VannaFlaskApp(vn,chart=False) | ||||
| init_vn(vn) | ||||
| cache = app.cache | ||||
| @app.flask_app.route("/api/v0/generate_sql_2", methods=["GET"]) | ||||
| @app.flask_app.route("/yj_sqlbot/api/v0/generate_sql_2", methods=["GET"]) | ||||
| def generate_sql_2(): | ||||
|     """ | ||||
|     Generate SQL from a question | ||||
| @@ -117,7 +117,7 @@ def generate_sql_2(): | ||||
|  | ||||
|  | ||||
|  | ||||
| @app.flask_app.route("/api/v0/run_sql_2", methods=["GET"]) | ||||
| @app.flask_app.route("/yj_sqlbot/api/v0/run_sql_2", methods=["GET"]) | ||||
| @app.requires_cache(["sql"]) | ||||
| def run_sql_2(id: str, sql: str): | ||||
|     """ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 雷雨
					雷雨