diff --git a/plugs/think-plugs-ticket/src/controller/UserShare.php b/plugs/think-plugs-ticket/src/controller/UserShare.php index eeddc58..fe197e1 100644 --- a/plugs/think-plugs-ticket/src/controller/UserShare.php +++ b/plugs/think-plugs-ticket/src/controller/UserShare.php @@ -41,9 +41,14 @@ class UserShare extends Controller * @menu true * @return void */ - public function info() + public function detail() { $this->title = '随手拍详情'; - TicketUserShare::mForm('form'); + $where = $this->_vali([ + 'id.require' => '随手拍ID不能为空', + ]); + $this->vo = TicketUserShare::mk()->where($where)->findOrEmpty(); + if ($this->vo->isEmpty()) $this->error('用户随手拍不存在!'); + $this->fetch('detail'); } } \ No newline at end of file diff --git a/plugs/think-plugs-ticket/src/view/user_share/detail.html b/plugs/think-plugs-ticket/src/view/user_share/detail.html new file mode 100644 index 0000000..7142d30 --- /dev/null +++ b/plugs/think-plugs-ticket/src/view/user_share/detail.html @@ -0,0 +1,75 @@ +