function show() { $pid = (int) $_GET['id']; App\Widget::photoDetail($pid, $this->uid); $this->swoole->tpl->display(); }