Browse Source

files 改变路径

liweiquan 2 years ago
parent
commit
dbf29be5d5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/routers/files.py

+ 2 - 0
app/routers/files.py

@@ -67,6 +67,8 @@ def get_dag_content(uri: str):
     res = json.loads(file)
     res = json.loads(file)
     return res
     return res
 
 
+
+# 此接口置于末尾,勿乱动,乱动者砍死
 @router.get("/{uri:path}",name="path-convertor")
 @router.get("/{uri:path}",name="path-convertor")
 @sxtimeit
 @sxtimeit
 def get_file(uri: str):
 def get_file(uri: str):