This commit is contained in:
toogee 2020-01-17 22:42:26 +08:00
parent 66c76281f7
commit a69669a4f2

View File

@ -16,14 +16,10 @@ class Jump extends BaseController
public function index()
{
$u = Request::param();
var_dump($u);
//查询用户
$user = Db::name('user')->whereOr('name',$u['name'])->whereOr('nickname',$u['name'])->find();
$id = $user['id'];
return redirect('/index/u/'.$id.'.html');
//halt($u);
//return view();
}