这个URL   http://admin.demo.com/articletype/index.html?page=2&per-page=1   怎么重写伪静态啊 怎么写他的规则啊  求个样式 

  • 评论于 2016-04-15 01:35:49
         [
         *     'dashboard' => 'site/index',
         *
         *     'POST <controller:[\w-]+>s' => '<controller>/create',
         *     '<controller:[\w-]+>s' => '<controller>/index',
         *
         *     'PUT <controller:[\w-]+>/<id:\d+>'    => '<controller>/update',
         *     'DELETE <controller:[\w-]+>/<id:\d+>' => '<controller>/delete',
         *     '<controller:[\w-]+>/<id:\d+>'        => '<controller>/view',
         * ];
    
    
    
    
    http://admin.demo.com/articletype/index.html?page=2&per-page=1 
    
    <controller>/<action>/<page:\d+>/<per-page:\d+>  => '<controller>/<action>',





    回复
您需要登录后才可以评论。登录 | 立即注册