|
@@ -8,8 +8,10 @@
|
|
|
// +----------------------------------------------------------------------
|
|
|
// | Author: liu21st <liu21st@gmail.com>
|
|
|
// +----------------------------------------------------------------------
|
|
|
-
|
|
|
+//后台路由
|
|
|
think\Route::rule('/lst','admin/login/lst'); //后台登录地址替换为/lst(访问(本地)登录页面就直接 localhost/lst 访问)
|
|
|
+
|
|
|
+//前台路由
|
|
|
think\Route::rule('','index/index/index');//直接访问前台首页
|
|
|
think\Route::rule('/column','index/index/articlelb','get',['ext'=>'html|htm']);//头部栏目页
|
|
|
think\Route::rule('/index','index/index/index','get',['ext'=>'html|htm']);//网站主页
|