jump
This commit is contained in:
parent
66c76281f7
commit
a69669a4f2
@ -16,14 +16,10 @@ class Jump extends BaseController
|
|||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$u = Request::param();
|
$u = Request::param();
|
||||||
var_dump($u);
|
|
||||||
//查询用户
|
//查询用户
|
||||||
$user = Db::name('user')->whereOr('name',$u['name'])->whereOr('nickname',$u['name'])->find();
|
$user = Db::name('user')->whereOr('name',$u['name'])->whereOr('nickname',$u['name'])->find();
|
||||||
$id = $user['id'];
|
$id = $user['id'];
|
||||||
return redirect('/index/u/'.$id.'.html');
|
return redirect('/index/u/'.$id.'.html');
|
||||||
//halt($u);
|
|
||||||
|
|
||||||
//return view();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user