routes.index.ini 3.47 KB
;默认首页
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