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