routes.index.ini 3.22 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

; 错误页
routes.error.type = "rewrite"
routes.error.match = "/error.html"
routes.error.route.module = Index
routes.error.route.controller = Error
routes.error.route.action = Index

; 搜索页
routes.search.type = "rewrite"
routes.search.match = "/(search.html|search)$"
routes.search.route.module = Index
routes.search.route.controller = Search
routes.search.route.action = Index

; 注册页
routes.reg.type = "rewrite"
routes.reg.match = "/reg.html"
routes.reg.route.module = Passport
routes.reg.route.controller = Reg
routes.reg.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.interational.type = "rewrite"
routes.interational.match = "/login.html"
routes.interational.route.module = Passport
routes.interational.route.controller = Login
routes.interational.route.action = International

; 找回密码(手机号)
routes.phoneback.type = "rewrite"
routes.phoneback.match = "/phoneback.html"
routes.phoneback.route.module = Passport
routes.phoneback.route.controller = Back
routes.phoneback.route.action = Mobile

; 找回密码(邮箱)
routes.emailback.type = "rewrite"
routes.emailback.match = "/emailback.html"
routes.emailback.route.module = Passport
routes.emailback.route.controller = Back
routes.emailback.route.action = Email

; 所有品类
routes.cate.type = "rewrite"
routes.cate.match = "/cate"
routes.cate.route.module = Category
routes.cate.route.controller = Class
routes.cate.route.action = Index

; 品牌一览
routes.brands.type = "rewrite"
routes.brands.match = "/brands$"
routes.brands.route.module = Category
routes.brands.route.controller = Brand
routes.brands.route.action = Index

; 品牌一览搜索页
routes.brandsearch.type = "rewrite"
routes.brandsearch.match = "/brands/search"
routes.brandsearch.route.module = Category
routes.brandsearch.route.controller = Brand
routes.brandsearch.route.action = Search

; 新品到着(NEW)
routes.productnew.type = "rewrite"
routes.productnew.match = "/product/new$"
routes.productnew.route.module = Product
routes.productnew.route.controller = Newsale
routes.productnew.route.action = Index

; 折扣专区(SALE)
routes.productsale.type = "rewrite"
routes.productsale.match = "/sale"
routes.productsale.route.module = Product
routes.productsale.route.controller = Newsale
routes.productsale.route.action = Discount

; 女生首页
routes.girls.type = "rewrite"
routes.girls.match = "/girl$"
routes.girls.route.module = Index
routes.girls.route.controller = Girls
routes.girls.route.action = index

; 商品筛选
routes.goodsfilter.type = "rewrite"
routes.goodsfilter.match = "/search/filter"
routes.goodsfilter.route.module = Index
routes.goodsfilter.route.controller = Search
routes.goodsfilter.route.action = Filter

; 品牌搜索
routes.productnew.type = "rewrite"
routes.productnew.match = "/brands/search$"
routes.productnew.route.module = Category
routes.productnew.route.controller = Brand
routes.productnew.route.action = Search