跳转问题求指教

浏览:169 发布日期:2018/01/08 分类:求助交流
<?php
namespace app\chat\controller;
use think\Controller;
use think\Session;
class Login extends Controller
{
    public function index()
    {
        return $this->fetch();
    }
    public function login()
    {
        $username = input('username');
        $password = input('password');
        Session::set('id',$username);

        return $this->success('登录成功',url('Index'));
    }
}
然后他就到这导致报错
http://www.wechat.com/chat/undefined
最佳答案
评论( 相关
后面还有条评论,点击查看>>