首頁  >  問答  >  主體

登入介面渲染不出來

<?php

namespace app\admin\controller;

use app\admin\common\Base;

use think\Request;

class Login extends Base

{

    public function index()

    //記得渲染的頁面檔案的時候,不需要加上後綴名,這樣才能正常載入頁面檔案

    {

        return $this->fetch('login');

    }

    //驗證使用者身分

##    }

    //驗證使用者身分

      public function check()

    

    {

        

    }

#  選擇退出』 function save(Request $request)

    

卷[ ” # }

#

兰羽馨兰羽馨2447 天前1453

全部回覆(7)我來回復

  • 韦小宝

    韦小宝2018-01-11 17:52:08

    把debug打開看看報什麼錯,然後把報錯複製過來看看

    回覆
    0
  • 韦小宝

    韦小宝2018-01-11 17:01:52

    你把debug模式打開了麼

    回覆
    0
  • 韦小宝

    韦小宝2018-01-11 09:13:22

    報什麼不好?

    回覆
    0
  • 兰羽馨

    就是報錯說找不到文件

    兰羽馨 · 2018-01-11 16:43:37
    兰羽馨

    你的能訪問嗎

    兰羽馨 · 2018-01-11 16:43:52
    兰羽馨

    好的,我試試

    兰羽馨 · 2018-01-12 12:25:01
    兰羽馨

    http://localhost/admin.php/login這樣子訪問就沒事,然後http://localhost/admin/login訪問就不能出來

    兰羽馨 · 2018-01-12 13:36:08
  • 取消回覆