Prechádzať zdrojové kódy

更新 'application/route.php'

Me 5 rokov pred
rodič
commit
46d0e57971
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  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']);//网站主页