Parcourir la source

PC上传压缩包文件路径冲突

zhangdongming il y a 2 ans
Parent
commit
4424673fc6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Ansjer/urls.py

+ 1 - 1
Ansjer/urls.py

@@ -221,7 +221,7 @@ urlpatterns = [
     re_path('history/(?P<operation>.*)', HistoryUIDController.HistoryUIDView.as_view()),
     re_path('^log/(?P<operation>.*)', LogController.LogView.as_view()),
     re_path('orderTask/(?P<operation>.*)', OrderTaskController.OrderTaskView.as_view()),
-    re_path('upload', FileController.UploadUIDFileView.as_view()),
+    re_path('^upload', FileController.UploadUIDFileView.as_view()),
     re_path('^download', FileController.DownloadUIDFileView.as_view()),
     re_path('sales', SalesController.SalesView.as_view()),
     re_path('device/online', SalesController.DeviceOnlineView.as_view()),