浏览代码

更新 'application/route.php'

Me 5 年之前
父节点
当前提交
46d0e57971
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      application/route.php

+ 3 - 1
application/route.php

@@ -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']);//网站主页