summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock/routes.js
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-08-26 19:34:22 +0800
committerxu ran <xuranyjy@chinamobile.com>2019-08-27 02:22:40 +0000
commit5d38fbfc424c6b0a1803175989241a7cfd6ce5ff (patch)
tree3ef4fa58243066806247fb20bd5777c224657bf9 /usecaseui-portal/src/app/mock/routes.js
parent53dc95156c32bb4e2a97a0b852a0c491f297889d (diff)
feat: add mock data routers config
Change-Id: I155f6957499cfb6da2462671083fa0622de6463a Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock/routes.js')
-rw-r--r--usecaseui-portal/src/app/mock/routes.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/mock/routes.js b/usecaseui-portal/src/app/mock/routes.js
new file mode 100644
index 00000000..aad505f2
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/routes.js
@@ -0,0 +1,10 @@
+// proxy routers setting
+module.exports =
+ {
+
+ "/api/*": "/$1",
+ "/*/*": "/$1_$2",
+ "/*/*/*": "/$1_$2_$3",
+ "/*/*/*/*": "/$1_$2_$3_$4",
+
+ }