<?php
/*
default 默认访问路由
routes 自定义路由
*/
return array (
'default' => array('m' => 'go','c' => 'index','a' => 'init'),
'routes' => array(
'from(:any)'=> "mobile/mobile/",
'login' => "member/user/login",
'login/(:any)' => "member/user/login/$1",
'admin' => "admin/user/login",
'uname/(:any)' => 'member/us/uname/$1',
'userbuy/(:any)' => 'member/us/userbuy/$1',
'userraffle/(:any)' => 'member/us/userraffle/$1',
'userpost/(:any)' => 'member/us/userpost/$1',
'register/(:any)' => 'member/user/register/$1',
'register' => 'member/user/register',
'goods/(:any)' => 'go/index/item/$1',
'dataserver/(:any)' => 'go/index/dataserver/$1',
'goods_list/(:any)' => 'go/index/glist/$1',
'goods_list' => 'go/index/glist',
'goods_lottery' => 'go/index/lottery',
'goods_lottery/(:any)' => 'go/index/lottery/$1',
'help/(:any)' => 'go/article/show/$1',
'single/(:any)' => 'go/article/single/$1',
'link' => 'link/link/init/$1',
's_tag/(:any)' => 'search/index/tag/$1',
'buyrecord' => 'go/databuyrecord/buyrecord',
'buyrecordbai' => 'go/databuyrecord/buyrecordbai',
'group_qq' => 'go/qq_qun',
'group' => 'group/group/init',
'group/show/(:any)' => 'group/group/show/$1',
'group/nei/(:any)' => 'group/group/nei/$1',
)
);
?>
这代码写的,唉,好吧,能用就凑合用吧,无法是一个进站规则问题。