浏览代码

修改入口

moonsflyer 2 月之前
父节点
当前提交
3c61c4ac93
共有 1 个文件被更改,包括 2 次插入8 次删除
  1. 2 8
      route/app.php

+ 2 - 8
route/app.php

@@ -11,12 +11,6 @@
 use think\facade\Config;
 use think\facade\Route;
 
-// PC商城端
-
-$isOpen = \app\common\server\ConfigServer::get('pc', 'is_open', 1);
-if(!$isOpen) {
-	return '';
-}
-Config::set(['app_trace' => false]);
-return view(app()->getRootPath() . 'public/pc/index.html');
+//// PC商城端
+//return view(app()->getRootPath() . 'public/pc/index.html');