新增功能
This commit is contained in:
@@ -18,7 +18,7 @@ class IndexController extends BaseController
|
||||
*/
|
||||
public function index($name = '你好,likeadmin')
|
||||
{
|
||||
$template = app()->getRootPath() . 'public/pc/index.html';
|
||||
$template = app()->getRootPath() . 'public/admin/index.html';
|
||||
if (Request::isMobile()) {
|
||||
$template = app()->getRootPath() . 'public/mobile/index.html';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user