routes.index.ini
3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
;默认首页
routes.index.type = "rewrite"
routes.index.match = "/index.html"
routes.index.route.module = Index
routes.index.route.controller = Index
routes.index.route.action = Index
;woman首页
routes.girlindex.type = "rewrite"
routes.girlindex.match = "/woman"
routes.girlindex.route.module = Index
routes.girlindex.route.controller = Girls
routes.girlindex.route.action = Index
;验证码
routes.passportimage.type = "rewrite"
routes.passportimage.match = "/passport/images"
routes.passportimage.route.module = Passport
routes.passportimage.route.controller = Images
routes.passportimage.route.action = Index
; 登录页
routes.login.type = "rewrite"
routes.login.match = "/signin.html"
routes.login.route.module = Passport
routes.login.route.controller = Login
routes.login.route.action = Index
; 登录退出页
routes.logout.type = "rewrite"
routes.logout.match = "/logout.html"
routes.logout.route.module = Passport
routes.logout.route.controller = Login
routes.logout.route.action = Out
; 注册页
routes.reg.type = "rewrite"
routes.reg.match = "/reg.html"
routes.reg.route.module = Passport
routes.reg.route.controller = Register
routes.reg.route.action = Index
;hotrank
routes.hotrank.type = "rewrite"
routes.hotrank.match = "/hotrank"
routes.hotrank.route.module = Product
routes.hotrank.route.controller = Index
routes.hotrank.route.action = Hotrank
; 商品详情
routes.item.type = "regex"
routes.item.match = "#/product/pro_([0-9]+)_([0-9]+)/(.*)#"
routes.item.route.module = Product
routes.item.route.controller = Item
routes.item.route.action = Index
routes.item.map.1 = productId
routes.item.map.2 = goodsId
routes.itemshow.type = "regex"
routes.itemshow.match = "#/product/show_([0-9]+)_([0-9]+).html#"
routes.itemshow.route.module = Product
routes.itemshow.route.controller = Item
routes.itemshow.route.action = Show
routes.itemshow.map.1 = productId
routes.itemshow.map.2 = productSkn
;购物车
routes.cart.type = "rewrite"
routes.cart.match = "/shopping/cart$"
routes.cart.route.module = Cart
routes.cart.route.controller = Index
routes.cart.route.action = Index
;个人中心-订单列表
routes.orders.type = "rewrite"
routes.orders.match = "/home/orders$"
routes.orders.route.module = Home
routes.orders.route.controller = Orders
routes.orders.route.action = Index
;个人中心-编辑个人资料
routes.user.type = "rewrite"
routes.user.match = "/home/user$"
routes.user.route.module = Home
routes.user.route.controller = User
routes.user.route.action = Index
;个人中心-首页
routes.homeindex.type = "rewrite"
routes.homeindex.match = "/home$"
routes.homeindex.route.module = Home
routes.homeindex.route.controller = Index
routes.homeindex.route.action = Index
;个人中心-地址管理
routes.address.type = "rewrite"
routes.address.match = "/home/address$"
routes.address.route.module = Home
routes.address.route.controller = Address
routes.address.route.action = Index
;个人中心-我的退换货
routes.homereturnsreturnslist.type = "rewrite"
routes.homereturnsreturnslist.match = "/home/returns$"
routes.homereturnsreturnslist.route.module = Home
routes.homereturnsreturnslist.route.controller = returns
routes.homereturnsreturnslist.route.action = returnslist
;个人中心-我的收藏
routes.favorite.type = "rewrite"
routes.favorite.match = "/home/favorite$"
routes.favorite.route.module = Home
routes.favorite.route.controller = Favorite
routes.favorite.route.action = Index