wenhongquan 1 місяць тому
батько
коміт
89a5a24ec0
1 змінених файлів з 21 додано та 1 видалено
  1. 21 1
      upsystem/hooks.py

+ 21 - 1
upsystem/hooks.py

@@ -23,6 +23,21 @@ pages = [
         "name": "tmsorder",
         "template": "upsystem/templates/pages/tms_order.html",
         "controller": "upsystem.www.tms_order.get_context"
+    },
+	{
+        "name": "tmsorder",
+        "template": "upsystem/templates/pages/tms_tracking.html",
+        "controller": "upsystem.www.tms_tracking.get_context"
+    },
+	{
+        "name": "tmsorderdetail",
+        "template": "upsystem/templates/pages/tms_order_detail.html",
+        "controller": "upsystem.www.tms_order_detail.get_context"
+    },
+	{
+        "name": "tms_exception_order",
+        "template": "upsystem/templates/pages/tms_exception_order.html",
+        "controller": "upsystem.www.tms_exception_order.get_context"
     }
 ]
 
@@ -36,7 +51,12 @@ website_route_rules = [
 	{
         "from_route": "/upsystem/tms_order",
         "to_route": "tms_order"
-    }
+    },
+	{
+		"from_route": "/upsystem/tms_tracking",
+        "to_route": "tms_tracking"
+
+	}
 
 ]